| 1 |
# https://github.com/marketplace/actions/github-actions-version-updater |
| 2 |
|
| 3 |
name: update GitHub Actions |
| 4 |
|
| 5 |
"on": |
| 6 |
workflow_dispatch: |
| 7 |
schedule: |
| 8 |
# Second day of every third month at noon |
| 9 |
- cron: "0 12 2 */3 *" |
| 10 |
|
| 11 |
jobs: |
| 12 |
main: |
| 13 |
runs-on: ubuntu-latest |
| 14 |
steps: |
| 15 |
- name: check out code |
| 16 |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 |
| 17 |
with: |
| 18 |
token: ${{ secrets.ACTIONS_VERSION_UPDATER_TOKEN }} |
| 19 |
- name: update GitHub Actions |
| 20 |
uses: saadmk11/github-actions-version-updater@64be81ba69383f81f2be476703ea6570c4c8686e |
| 21 |
with: |
| 22 |
token: ${{ secrets.ACTIONS_VERSION_UPDATER_TOKEN }} |
| 23 |
update_version_with: release-commit-sha |
| 24 |
pull_request_labels: "automated, dependencies" |
| 25 |
|
| 26 |
permissions: |
| 27 |
contents: write |
| 28 |
pull-requests: write |