Update #2873
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 | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '2 * * * *' # every hour | |
# By using push as well, we make sure our PRs are updated when the main branch has new commits. | |
push: | |
branches: | |
- main | |
jobs: | |
violinist: | |
name: Run update checks and create PRs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: violinist-dev/[email protected] | |
id: update | |
with: | |
php_version: "7.3" | |
env: | |
USER_TOKEN: ${{ secrets.PAT_UPDATE_JOB }} | |
PROJECT_URL: ${{ github.repositoryUrl }} | |
LICENCE_KEY: ${{ secrets.VALID_CI_LICENCE }} | |
- name: Fetch the output | |
env: | |
JSON_OUTPUT: ${{ steps.update.outputs.json }} | |
run: | | |
echo "$JSON_OUTPUT" > /tmp/output | |
cat /tmp/output | jq |