Skip to content

Commit

Permalink
Add repository check to prevent PR creation on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell committed Dec 8, 2022
1 parent a727a56 commit f3d129f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/prerelease.yml
Expand Up @@ -11,6 +11,8 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
prerelease:
name: Changesets Prerelease
# Prevents changesets action from creating a PR on forks
if: github.repository == 'apollographql/apollo-client'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand Down

0 comments on commit f3d129f

Please sign in to comment.