diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d2afb6..66e298c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,32 +1,33 @@ 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 10 or 11am Pacific Time # We also make this an hour after all others such as Sentry, # Snuba, and Relay to make sure their releases finish. - cron: "0 18 15 * *" jobs: release: + if: github.repository_owner == 'getsentry' runs-on: ubuntu-latest name: "Release a new version" steps: - uses: actions/checkout@v2 with: token: ${{ secrets.GH_RELEASE_PAT }} fetch-depth: 0 - name: Prepare release uses: getsentry/action-prepare-release@v1 env: GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }} with: version: ${{ github.event.inputs.version }} force: ${{ github.event.inputs.force }} calver: true