-
-
Notifications
You must be signed in to change notification settings - Fork 50
35 lines (33 loc) · 1.14 KB
/
update-deps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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