Skip to content

Commit

Permalink
add Actions-Version-Updater and use organizational Personal Access To…
Browse files Browse the repository at this point in the history
…kens
  • Loading branch information
Zeitsperre committed Jan 15, 2024
1 parent 92df87f commit 8147aa7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/actions-version-updater.yml
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'
2 changes: 1 addition & 1 deletion .github/workflows/auto-bumpversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:
uses: ad-m/github-push-action@master
with:
force: false
github_token: ${{ secrets.BUMPVERSION_TOKEN }}
github_token: ${{ secrets.BUMP_VERSION_TOKEN }}
branch: ${{ github.ref }}

0 comments on commit 8147aa7

Please sign in to comment.