Skip to content

Create dataset loader for XL-Sum #1

Create dataset loader for XL-Sum

Create dataset loader for XL-Sum #1

on:
issues:
types:
- labeled
jobs:
add-comment-on-staled-issue:
if: github.event.label.name == "staled-issue"

Check failure on line 8 in .github/workflows/add-new-comment-on-stale.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/add-new-comment-on-stale.yml

Invalid workflow file

The workflow is not valid. .github/workflows/add-new-comment-on-stale.yml (Line: 8, Col: 9): Unexpected symbol: '"staled-issue"'. Located at position 28 within expression: github.event.label.name == "staled-issue" .github/workflows/add-new-comment-on-stale.yml (Line: 21, Col: 9): Unexpected symbol: '"need-fu-pr"'. Located at position 28 within expression: github.event.label.name == "need-fu-pr"
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?"