This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
build(deps-dev): bump rollup, @rollup/plugin-commonjs and @rollup/plugin-node-resolve in /tools/lint-md #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment on issues and PRs when labelled | |
on: | |
issues: | |
types: [labeled] | |
pull_request_target: | |
types: [labeled] | |
jobs: | |
staleComment: | |
if: github.repository == 'nodejs/node' && github.event.label.name == 'stalled' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Post stalled comment | |
env: | |
NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: gh issue comment "$NUMBER" --repo ${{ github.repository }} --body "This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open." | |
fastTrack: | |
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'fast-track' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Request Fast-Track | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve." |