diff --git a/.github/workflows/issues-workflow.yaml b/.github/workflows/issues-workflow.yaml index 3017271d7..27daba838 100644 --- a/.github/workflows/issues-workflow.yaml +++ b/.github/workflows/issues-workflow.yaml @@ -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