Skip to content

Commit

Permalink
Merge pull request #256 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 authored Jan 15, 2024
2 parents 9a78cb4 + 00b9265 commit f234680
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 f234680

Please sign in to comment.