Skip to content

Commit

Permalink
Sabilmakbar Patch Workflow (#484)
Browse files Browse the repository at this point in the history
Bugfix on #482.
  • Loading branch information
sabilmakbar authored Mar 3, 2024
1 parent c6214c9 commit 5d4b3c8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/add-new-comment-on-stale.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# 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:
- labeled

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
Expand All @@ -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
Expand Down

0 comments on commit 5d4b3c8

Please sign in to comment.