Update dependencies for SimpleSAMLphp 2.3 #265
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
--- | |
name: 'Update dependencies' | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run every week on Sunday at 00:00 AM UTC | |
- cron: '0 0 * * 0' | |
jobs: | |
build: | |
name: 'Update dependencies' | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: 'Run developer-tools update (2.1)' | |
uses: actions/github-script@v7 | |
with: | |
# Token has to be generated on a user account that controls the remote repository. | |
# The _only_ scope to select is "Access public repositories", nothing more. | |
github-token: "${{ secrets.PAT_TOKEN }}" | |
debug: true | |
script: | | |
await github.rest.actions.createWorkflowDispatch({ | |
owner: 'simplesamlphp', | |
repo: 'simplesamlphp-assets-base', | |
workflow_id: 'update-dependencies.yml', | |
ref: 'release-2.1' | |
}) | |
- name: 'Run developer-tools update (2.2)' | |
uses: actions/github-script@v7 | |
with: | |
# Token has to be generated on a user account that controls the remote repository. | |
# The _only_ scope to select is "Access public repositories", nothing more. | |
github-token: "${{ secrets.PAT_TOKEN }}" | |
debug: true | |
script: | | |
await github.rest.actions.createWorkflowDispatch({ | |
owner: 'simplesamlphp', | |
repo: 'simplesamlphp-assets-base', | |
workflow_id: 'update-dependencies.yml', | |
ref: 'release-2.2' | |
}) | |
- name: 'Run developer-tools update (2.3)' | |
uses: actions/github-script@v7 | |
with: | |
# Token has to be generated on a user account that controls the remote repository. | |
# The _only_ scope to select is "Access public repositories", nothing more. | |
github-token: "${{ secrets.PAT_TOKEN }}" | |
debug: true | |
script: | | |
await github.rest.actions.createWorkflowDispatch({ | |
owner: 'simplesamlphp', | |
repo: 'simplesamlphp-assets-base', | |
workflow_id: 'update-dependencies.yml', | |
ref: 'release-2.3' | |
}) |