From 5d5a371efd19809e6e60e24cb19aa2efb94232bc Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 13 Feb 2023 20:14:10 -0500 Subject: [PATCH] don't open issues unless we're on `main` --- .github/workflows/complain.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/complain.yml b/.github/workflows/complain.yml index 3ee95c77..65064649 100644 --- a/.github/workflows/complain.yml +++ b/.github/workflows/complain.yml @@ -27,7 +27,9 @@ jobs: SLACK_MESSAGE: new-version:${{ inputs.projects }} (${{ inputs.platform }}) ${{ steps.status.outputs.status }} SLACK_COLOR: ${{ steps.status.outputs.status }} - uses: actions/checkout@v3 + if: ${{ github.base_ref == 'main' }} - uses: JasonEtco/create-an-issue@v2 + if: ${{ github.base_ref == 'main' }} with: filename: ./.github/NEW_VERSION_ISSUE_TEMPLATE.md env: