Files
factorio-docker/.github/workflows/update.yml
Chris Putnam 2101107c09 Remove unneccessary access token from update workflow
It is not necessary to use a PAT to check out a public repository. Because it is defined, the PAT eventually will expire and the action will stop working. By leaving it at default, the workflow generates a new Github token every time it runs which is enough to check out the repo.
2025-11-14 01:29:13 -06:00

20 lines
404 B
YAML

name: Check Update
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
if: github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository == 'factoriotools/factorio-docker')
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Run update script
run: ./update.sh
shell: bash