Skip to content

Commit

Permalink
Merge pull request #166 from Kuadrant/gh_prs
Browse files Browse the repository at this point in the history
Only run gh action on local PRs
  • Loading branch information
alexsnaps committed Jan 15, 2024
2 parents f026ef8 + fba5ab7 commit dbeb036
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/add-to-project@v0.5.0
Expand Down

0 comments on commit dbeb036

Please sign in to comment.