Skip to content

Commit

Permalink
Only run gh action on local PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps committed Jan 15, 2024
1 parent 2cfc0ed commit 15e04ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/issues-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
jobs:
add-to-project:
name: Add issue to project
# Only run jobs if the feature branch is in your repo (not in a fork)
# OR
# it is an issue
if: github.event.pull_request.head.repo.full_name == github.repository || github.event.issue.number != ''
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
Expand Down

0 comments on commit 15e04ba

Please sign in to comment.