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: