Skip to content

Create dataset loader for XL-Sum #2

Create dataset loader for XL-Sum

Create dataset loader for XL-Sum #2

# 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'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Remind assignee on staled Issue
uses: peter-evans/create-or-update-comment@v2
with:
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'
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Remind assignee and author on staled PR
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{github.event.pull_request.number}}
body: "Hi @${{join(github.event.pull_request.assignees.*.login, ', @')}} & @${{github.event.pull_request.user.login}}, may I know if you are still working on this PR?"