From 317260c28c3119423458daa81153f4c3d0277c55 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Sat, 12 Oct 2024 20:15:00 +0800 Subject: [PATCH] skip PR creation step in the generate workflow in forks --- .github/workflows/generate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate.yaml b/.github/workflows/generate.yaml index 549d3c9c3..0d67bf7f6 100644 --- a/.github/workflows/generate.yaml +++ b/.github/workflows/generate.yaml @@ -47,4 +47,4 @@ jobs: This PR was created by [this workflow run](https://github.com/rhysd/actionlint/actions/runs/${{ github.run_id }}) automatically. List of workflow runs is [here](https://github.com/rhysd/actionlint/actions/workflows/generate.yaml). assignees: rhysd - if: ${{ steps.diff.outputs.pr == 'true' }} + if: ${{ steps.diff.outputs.pr == 'true' && github.repository == 'rhysd/actionlint' }}