Skip to content

Commit 69352b6

Browse files
authored
Merge pull request #53 from keanjapesan/fix-issueid
Fix: Enclose SET_ISSUE_ID with single quotes
2 parents 7d14c4f + 3ac51cc commit 69352b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/github2gerrit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ jobs:
368368
fi
369369
370370
# Dependabot workaround for LF projects enforcing an "issue-id" in commit message
371-
if [[ -n ${{ env.SET_ISSUE_ID }} && '${{ vars.ISSUEID }}' == 'true' ]]; then
371+
if [[ -n '${{ env.SET_ISSUE_ID }}' && '${{ vars.ISSUEID }}' == 'true' ]]; then
372372
# workaround to remove lines with --- or ...
373373
sed -i -e 's#^[ ]*---##g' -e 's#^[ ]*\.\.\.##g' commit-msg.txt
374374
issue_id="${{ env.SET_ISSUE_ID }}"

0 commit comments

Comments
 (0)