Skip to content

Check for updates

Check for updates #67

Workflow file for this run

name: "Check for updates"
on:
pull_request:
branches:
- "main"
workflow_dispatch:
schedule:
# Run every day at midnight, https://crontab.guru/#@daily.
- cron: "0 0 * * *"
# Ensure updates only run once at a time.
concurrency:
group: "updater-${{ github.repository }}-${{ github.ref }}"
jobs:
updater:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
experimental: true
- name: Setup Environment
working-directory: .tools
run: |-
mise run build
docker pull ghcr.io/jaredallard/overlay:updater
- name: Run updater
run: mise run update
- name: Run linter
run: mise run lint
- uses: jaredallard/[email protected]
if: github.event_name != 'pull_request'
with:
commit_message: "chore: update dependencies"
repo: ${{ github.repository }}
branch: "main"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}