Skip to content

Commit

Permalink
ci: Ensure release comments are not added for prereleases (#13991)
Browse files Browse the repository at this point in the history
Noticed here:
#13932 (comment)
we should not add comments for prereleases πŸ˜…
  • Loading branch information
mydea authored Oct 17, 2024
1 parent ff7a07d commit bece3e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-comment-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ jobs:
run: echo "version=${{ github.event.inputs.version || github.event.release.tag_name }}" >> $GITHUB_OUTPUT

- name: Comment on linked issues that are mentioned in release
if: steps.get_version.outputs.version != ''
if: |
steps.get_version.outputs.version != ''
&& !contains(steps.get_version.outputs.version, '-beta.')
&& !contains(steps.get_version.outputs.version, '-alpha.')
&& !contains(steps.get_version.outputs.version, '-rc.')
uses: getsentry/release-comment-issues-gh-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit bece3e5

Please sign in to comment.