Update Dependencies #771
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: | |
# Run every day. | |
schedule: | |
- cron: '0 3 * * *' | |
# And on on every PR merge so we get the updated dependencies ASAP, and to make sure the changelog doesn't conflict. | |
push: | |
branches: | |
- master | |
jobs: | |
update-cli: | |
uses: getsentry/github-workflows/.github/workflows/updater.yml@v2 | |
with: | |
path: script/sentry-cli.properties | |
name: CLI | |
secrets: | |
api-token: ${{ secrets.CI_DEPLOY_KEY }} | |
update-binaries: | |
runs-on: ubuntu-latest | |
needs: update-cli | |
if: needs.update-cli.outputs.originalTag != needs.update-cli.outputs.latestTag | |
steps: | |
- name: Checkout PR branch | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ needs.update-cli.outputs.prBranch }} | |
- name: Download latest binaries. | |
run: script/sentry-cli-download.sh | |
- name: Commit latest binaries. | |
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # https://github.com/stefanzweifel/git-auto-commit-action/releases/tag/v4.14.1 | |
with: | |
branch: ${{ needs.update-cli.outputs.prBranch }} | |
commit_message: bump bundled binaries |