Skip to content

Commit

Permalink
Creating GH action version updater (#1024)
Browse files Browse the repository at this point in the history
for automatically upgrading jobs used in GH workflows to eliminate deprecation/removal errors.
  • Loading branch information
Serdaro authored Feb 23, 2024
1 parent ee160fb commit 06e9a56
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/action-updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.ACTION_UPDATER }}

- name: Run GitHub Actions Version Updater
uses: saadmk11/github-actions-version-updater@v0.8.1
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.ACTION_UPDATER }}
committer_username: 'serdaro'
commit_message: 'Review updated action versions'
pull_request_title: 'Updated action versions'

0 comments on commit 06e9a56

Please sign in to comment.