12345678910111213141516171819202122232425262728293031323334353637 |
- name: Release
- on:
- workflow_dispatch:
- inputs:
- version:
- description: Version to release (optional)
- required: false
- force:
- description: Force a release even when there are release-blockers (optional)
- required: false
- schedule:
- # We want the release to be at 9-10am Pacific Time
- # We also want it to be 1 hour before the self-hosted release
- - cron: '0 17 15 * *'
- jobs:
- release:
- runs-on: ubuntu-latest
- name: 'Release a new version'
- steps:
- - name: Get auth token
- id: token
- uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
- with:
- app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
- private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
- - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- with:
- token: ${{ steps.token.outputs.token }}
- fetch-depth: 0
- - name: Prepare release
- uses: getsentry/action-prepare-release@d2cc2db3db92bc5b79a90c316f588f2b13626a2b # v1.5.6
- env:
- GITHUB_TOKEN: ${{ steps.token.outputs.token }}
- with:
- version: ${{ github.event.inputs.version }}
- force: ${{ github.event.inputs.force }}
- calver: true
|