From b51e58dd855a44f557883726b9c4467f95dd7420 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Wed, 12 Apr 2023 21:08:29 +0200 Subject: [PATCH] chore(ci): don't run pm workflow on forks --- .github/workflows/pm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pm.yml b/.github/workflows/pm.yml index d96056231364..09b9fd6f83a2 100644 --- a/.github/workflows/pm.yml +++ b/.github/workflows/pm.yml @@ -10,10 +10,11 @@ on: jobs: add-to-project: + if: github.event.pull_request.head.repo.fork == false name: Add issue to project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v0.3.0 + - uses: actions/add-to-project@v0.5.0 with: project-url: https://github.com/orgs/ory-corp/projects/5 github-token: ${{ secrets.ORY_BOT_PAT }}