-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Actions-Version-Updater and use organizational Personal Access To…
…kens
- Loading branch information
1 parent
92df87f
commit 8147aa7
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: GitHub Actions Version Updater | ||
|
||
on: | ||
schedule: | ||
# 12:00 AM on the first of every month | ||
- cron: '0 0 1 * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
with: | ||
# This requires a personal access token with the privileges to push directly to `main` | ||
token: ${{ secrets.ACTIONS_VERSION_UPDATER_TOKEN }} | ||
persist-credentials: true | ||
- name: Run GitHub Actions Version Updater | ||
uses: saadmk11/github-actions-version-updater@v0.8.1 | ||
with: | ||
token: ${{ secrets.ACTIONS_VERSION_UPDATER_TOKEN }} | ||
committer_email: 'bumpversion[bot]@ouranos.ca' | ||
committer_username: 'update-github-actions[bot]' | ||
pull_request_title: '[bot] Update GitHub Action Versions' |
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