Skip to content

Commit

Permalink
squash: is issue writing required?
Browse files Browse the repository at this point in the history
  • Loading branch information
arielvalentin committed Jan 17, 2024
1 parent 8d70d90 commit 2d3a4b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lint-pr-title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- edited

permissions:
issues: write
pull-requests: write

concurrency:
Expand Down Expand Up @@ -44,7 +45,7 @@ jobs:
# condition you can continue the execution with the populated error message.
- if: always() && (steps.lint_pr_title.outputs.error_message != null)
name: "📝 Add PR comment about using conventional commit spec"
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.8.0
with:
header: pr-title-lint-error
message: |
Expand All @@ -65,7 +66,7 @@ jobs:
# Delete a previous comment when the issue has been resolved
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
name: "❌ Delete PR comment after title has been updated"
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v2.8.0
with:
header: pr-title-lint-error
delete: true

0 comments on commit 2d3a4b4

Please sign in to comment.