Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Only run GH action for local PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps authored and maleck13 committed Jan 15, 2024
1 parent 730b097 commit 5067a7f
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 5067a7f

Please sign in to comment.