From 2d3a4b4b2550fcf81801232c08abf0a62501fab0 Mon Sep 17 00:00:00 2001 From: Ariel Valentin Date: Tue, 16 Jan 2024 23:12:39 -0600 Subject: [PATCH] squash: is issue writing required? --- .github/workflows/lint-pr-title.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint-pr-title.yaml b/.github/workflows/lint-pr-title.yaml index fa3ba2fd3..03d0e02e2 100644 --- a/.github/workflows/lint-pr-title.yaml +++ b/.github/workflows/lint-pr-title.yaml @@ -12,6 +12,7 @@ on: - edited permissions: + issues: write pull-requests: write concurrency: @@ -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: | @@ -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