Skip to content

Commit

Permalink
ci: Release chores only on push
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Oct 13, 2024
1 parent 9238fc1 commit 3b8abfa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ jobs:

runs-on: ubuntu-latest

# Only run this on push events: `pull_request` events will not have access to
# secrets if coming from forks, and we do not care about release chores there
# anyway.
if: github.event_name == 'push'

outputs:
created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
Expand Down

0 comments on commit 3b8abfa

Please sign in to comment.