Skip to content
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,36 @@ 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.
# And on every PR merge so we get the updated dependencies ASAP, and to make sure the changelog doesn't conflict.
push:
branches:
- master
- main
- fix-ci
workflow_dispatch:

permissions:
contents: write # To modify files and create commits
pull-requests: write # To create and update pull requests
actions: write # To cancel previous workflow runs

jobs:
update-cli:
uses: getsentry/github-workflows/.github/workflows/updater.yml@95603f4efe938315ff0dd427a1f2bb40b1889a92 # v3.2.0
with:
path: script/sentry-cli.properties
name: CLI
secrets:
api-token: ${{ secrets.CI_DEPLOY_KEY }}
name: Update CLI
runs-on: ubuntu-latest
outputs:
originalTag: ${{ steps.updater.outputs.originalTag }}
latestTag: ${{ steps.updater.outputs.latestTag }}
prBranch: ${{ steps.updater.outputs.prBranch }}
steps:
- id: updater
uses: getsentry/github-workflows/updater@95603f4efe938315ff0dd427a1f2bb40b1889a92 # v3.2.0
with:
path: script/sentry-cli.properties
name: CLI
api-token: ${{ secrets.CI_DEPLOY_KEY }}

update-binaries:
name: Update Binaries
runs-on: ubuntu-latest
needs: update-cli
if: needs.update-cli.outputs.originalTag != needs.update-cli.outputs.latestTag
Expand Down