From 5916b880975b2f5e662bb3c54422dcfb8c4e82f2 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 6 Dec 2021 12:01:31 +0000 Subject: [PATCH] Disable issue-manager workflow on forks --- .github/workflows/issue-manager.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml index 8ae6cafa..b275c4f4 100644 --- a/.github/workflows/issue-manager.yml +++ b/.github/workflows/issue-manager.yml @@ -12,12 +12,14 @@ on: jobs: issue-manager: + # Disables this workflow from running in a repository that is not part of the indicated organization/user + if: github.repository_owner == 'cookiecutter' + runs-on: ubuntu-latest steps: - uses: tiangolo/issue-manager@0.4.0 with: token: ${{ secrets.GITHUB_TOKEN }} - config: > { "answered": {