2022-12-08 11:07:22 +01:00
|
|
|
name: GitHub Actions Version Updater
|
|
|
|
|
|
|
|
# Controls when the action will run.
|
|
|
|
on:
|
2022-12-08 11:24:06 +01:00
|
|
|
workflow_dispatch:
|
|
|
|
|
2022-12-08 11:07:22 +01:00
|
|
|
schedule:
|
|
|
|
# Automatically run on every Sunday
|
2023-04-18 09:42:17 +02:00
|
|
|
- cron: '0 0 1 * *'
|
2022-12-08 11:24:06 +01:00
|
|
|
|
2022-12-08 11:07:22 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-14 09:04:08 +02:00
|
|
|
- uses: actions/checkout@v3.6.0
|
2022-12-08 11:07:22 +01:00
|
|
|
with:
|
|
|
|
# [Required] Access token with `workflow` scope.
|
|
|
|
token: ${{ secrets.WORKFLOW_SECRET }}
|
|
|
|
|
2023-02-13 09:09:24 +01:00
|
|
|
- name: GitHub Actions Version Updater
|
2023-09-14 09:04:08 +02:00
|
|
|
uses: saadmk11/github-actions-version-updater@v0.8.1
|
2022-12-08 11:07:22 +01:00
|
|
|
with:
|
|
|
|
# [Required] Access token with `workflow` scope.
|
|
|
|
token: ${{ secrets.WORKFLOW_SECRET }}
|