From f2710b933b4358d3839fa2dea40dfca9ef1d932f Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 14 Feb 2023 18:47:20 -0500 Subject: [PATCH] this should probably actually work --- .github/workflows/complain.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/complain.yml b/.github/workflows/complain.yml index 65064649..dd7ebb00 100644 --- a/.github/workflows/complain.yml +++ b/.github/workflows/complain.yml @@ -27,9 +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' }} + if: env.GITHUB_REF == 'refs/heads/main' - uses: JasonEtco/create-an-issue@v2 - if: ${{ github.base_ref == 'main' }} + if: env.GITHUB_REF == 'refs/heads/main' with: filename: ./.github/NEW_VERSION_ISSUE_TEMPLATE.md env: