| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,7 +21,10 @@ jobs: | |||
| 21 | 21 | GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }} | |
| 22 | 22 | with: | |
| 23 | 23 | author: Node.js GitHub Bot <github-bot@iojs.org> | |
| 24 | - body: "Here are some new additions to the AUTHORS file. This is an automatically generated PR by the `authors.yml` GitHub Action, which runs `tools/update-authors.js`." | ||
| 24 | + body: > | ||
| 25 | + Here are some new additions to the AUTHORS file. | ||
| 26 | + This is an automatically generated PR by the | ||
| 27 | + `authors.yml` GitHub Action, which runs `tools/update-authors.js`. | ||
| 25 | 28 | branch: "actions/authors-update" # Custom branch *just* for this Action. | |
| 26 | 29 | commit-message: "meta: update AUTHORS" | |
| 27 | 30 | labels: meta | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,12 @@ on: | |||
| 3 | 3 | schedule: | |
| 4 | 4 | - cron: "0 0 * * *" | |
| 5 | 5 | ||
| 6 | + env: | ||
| 7 | + CLOSE_MESSAGE: > | ||
| 8 | + Closing this because it has stalled. Feel free to reopen if this issue/PR | ||
| 9 | + is still relevant, or to ping the collaborator who labelled it stalled if | ||
| 10 | + you have any questions. | ||
| 11 | + | ||
| 6 | 12 | jobs: | |
| 7 | 13 | stale: | |
| 8 | 14 | if: github.repository == 'nodejs/node' | |
@@ -14,8 +20,8 @@ jobs: | |||
| 14 | 20 | days-before-close: 30 | |
| 15 | 21 | stale-pr-label: stalled | |
| 16 | 22 | stale-issue-label: stalled | |
| 17 | - close-issue-message: Closing this because it has stalled. Feel free to reopen if this issue is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. | ||
| 18 | - close-pr-message: Closing this because it has stalled. Feel free to reopen if this PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. | ||
| 23 | + close-issue-message: ${{ env.CLOSE_MESSAGE }} | ||
| 24 | + close-pr-message: ${{ env.CLOSE_MESSAGE }} | ||
| 19 | 25 | # used to filter issues to check whether or not should be closed, avoids hitting maximum operations allowed if needing to paginate through all open issues | |
| 20 | 26 | only-labels: stalled | |
| 21 | 27 | # max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,12 @@ on: | |||
| 5 | 5 | pull_request_target: | |
| 6 | 6 | types: [labeled] | |
| 7 | 7 | ||
| 8 | + env: | ||
| 9 | + STALE_MESSAGE: > | ||
| 10 | + This issue/PR was marked as stalled, it will be automatically closed in 30 days. | ||
| 11 | + If it should remain open, please leave a comment explaining why it should remain open. | ||
| 12 | + FAST_TRACK_MESSAGE: Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve. | ||
| 13 | + | ||
| 8 | 14 | jobs: | |
| 9 | 15 | staleComment: | |
| 10 | 16 | if: github.repository == 'nodejs/node' && github.event.label.name == 'stalled' | |
@@ -14,7 +20,7 @@ jobs: | |||
| 14 | 20 | env: | |
| 15 | 21 | NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }} | |
| 16 | 22 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 17 | - 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." | ||
| 23 | + run: gh issue comment "$NUMBER" --repo ${{ github.repository }} --body "$STALE_MESSAGE" | ||
| 18 | 24 | ||
| 19 | 25 | fastTrack: | |
| 20 | 26 | if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'fast-track' | |
@@ -23,4 +29,4 @@ jobs: | |||
| 23 | 29 | - name: Request Fast-Track | |
| 24 | 30 | env: | |
| 25 | 31 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 26 | - run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "Fast-track has been requested by @${{ github.actor }}. Please 👍 to approve." | ||
| 32 | + run: gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$FAST_TRACK_MESSAGE" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,6 +22,9 @@ jobs: | |||
| 22 | 22 | author: Node.js GitHub Bot <github-bot@iojs.org> | |
| 23 | 23 | branch: actions/license-builder | |
| 24 | 24 | title: "doc: run license-builder" | |
| 25 | - body: "License is likely out of date. This is an automatically generated PR by the `license-builder.yml` GitHub Action, which runs `license-builder.sh` and submits a new PR or updates an existing PR." | ||
| 25 | + body: > | ||
| 26 | + License is likely out of date. This is an automatically generated PR by | ||
| 27 | + the `license-builder.yml` GitHub Action, which runs `license-builder.sh` | ||
| 28 | + and submits a new PR or updates an existing PR. | ||
| 26 | 29 | commit-message: 'doc: run license-builder' | |
| 27 | 30 | labels: meta | |
| Back | FazBrowse Home | New Git URL |
0 commit comments