Skip to content

Commit

Permalink
chore: use environment variable in notify new issues script (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisabhash authored Dec 10, 2024
1 parent 6813ed2 commit acc87c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

- name: Validate Release Commit
env:
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
run: |
if [[ "${{ github.event.head_commit.message }}" != *"release-spm"* ]]
if [[ "$COMMIT_MESSAGE" != *"release-spm"* ]]
then
echo "Commit message does not contain 'release-spm', skipping release."
exit 1
Expand Down

0 comments on commit acc87c7

Please sign in to comment.