Skip to content

Commit

Permalink
Merge pull request #150 from orange-cloudfoundry/Actions-Version-Updater
Browse files Browse the repository at this point in the history
add actions version updater
  • Loading branch information
fredga authored Sep 14, 2023
2 parents 08c7505 + 48ec47c commit edcfd65
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/updater.yaml
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@v3
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.AUTO_UPDATE_TOKEN }}

- name: Run GitHub Actions Version Updater
uses: saadmk11/[email protected]
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.AUTO_UPDATE_TOKEN }}
update_version_with: 'release-tag'
release_types: "major"
pull_request_labels: "dependencies, automated, actions"

0 comments on commit edcfd65

Please sign in to comment.