don't open issues unless we're on main

This commit is contained in:
Jacob Heider 2023-02-13 20:14:10 -05:00
parent 357ca23a8d
commit 5d5a371efd
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -27,7 +27,9 @@ jobs:
SLACK_MESSAGE: new-version:${{ inputs.projects }} (${{ inputs.platform }}) ${{ steps.status.outputs.status }} SLACK_MESSAGE: new-version:${{ inputs.projects }} (${{ inputs.platform }}) ${{ steps.status.outputs.status }}
SLACK_COLOR: ${{ steps.status.outputs.status }} SLACK_COLOR: ${{ steps.status.outputs.status }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: ${{ github.base_ref == 'main' }}
- uses: JasonEtco/create-an-issue@v2 - uses: JasonEtco/create-an-issue@v2
if: ${{ github.base_ref == 'main' }}
with: with:
filename: ./.github/NEW_VERSION_ISSUE_TEMPLATE.md filename: ./.github/NEW_VERSION_ISSUE_TEMPLATE.md
env: env: