GitHub Actions Version Updater #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Actions Version Updater | |
# Controls when the action will run. | |
on: | |
# can be used to run workflow manually | |
workflow_dispatch: | |
schedule: | |
# Automatically run on every Sunday | |
- cron: '0 0 * * 0' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# Access token with `workflow` scope is required | |
token: ${{ secrets.WORKFLOW_SECRET }} | |
- name: Run GitHub Actions Version Updater | |
uses: saadmk11/[email protected] | |
with: | |
# Access token with `workflow` scope is required | |
token: ${{ secrets.WORKFLOW_SECRET }} | |
# Do not update these actions (Optional) | |
# You need to add JSON array inside a string | |
# because GitHub Actions does not yet allow `Lists` as input | |
ignore: '["actions/checkout@v2"]' |