diff --git a/.github/workflows/add-new-comment-on-stale.yml b/.github/workflows/add-new-comment-on-stale.yml index 6c21a0867..4f49f0e30 100644 --- a/.github/workflows/add-new-comment-on-stale.yml +++ b/.github/workflows/add-new-comment-on-stale.yml @@ -1,3 +1,9 @@ +# This workflow is a continuation of "Mark stale issues and pull requests" workflow, on adding customized comment. + +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/peter-evans/create-or-update-comment +name: Adding reminder comment on staled issues & PRs on: issues: types: @@ -5,7 +11,7 @@ on: jobs: add-comment-on-staled-issue: - if: github.event.label.name == "staled-issue" + if: github.event.label.name == 'staled-issue' runs-on: ubuntu-latest permissions: issues: write @@ -14,11 +20,11 @@ jobs: - name: Remind assignee on staled Issue uses: peter-evans/create-or-update-comment@v2 with: - issue-number: ${{ github.event.issue.number }} + issue-number: ${{ github.event.issue.number}} body: "Hi @${{github.event.issue.assignee.login}}, may I know if you are still working on this issue? Please let @holylovenia @SamuelCahyawijaya @sabilmakbar know if you need any help." add-comment-on-staled-pr: - if: github.event.label.name == "need-fu-pr" + if: github.event.label.name == 'need-fu-pr' runs-on: ubuntu-latest permissions: pull-requests: write