We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b13b597 commit 8d2b084Copy full SHA for 8d2b084
1 file changed
.github/workflows/semantic-commit-lint.yml
@@ -47,10 +47,14 @@ jobs:
47
validateSingleCommit: true
48
- name: Add Failure Label
49
if: failure()
50
+ env:
51
+ REPO: ${{ github.repository }}
52
run: |
53
gh api repos/{owner}/{repo}/labels -f name="${CUSTOM_PR_LABEL}" -f color="FF0000" || true
- gh pr edit "${HEAD}" --add-label "${CUSTOM_PR_LABEL}"
54
+ gh pr edit "${HEAD}" --repo "${REPO}" --add-label "${CUSTOM_PR_LABEL}"
55
- name: Remove Failure Label
56
if: success()
57
58
59
- gh pr edit "${HEAD}" --remove-label "${CUSTOM_PR_LABEL}"
60
+ gh pr edit "${HEAD}" --repo "${REPO}" --remove-label "${CUSTOM_PR_LABEL}"
0 commit comments