-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gh-pages' into patch-1
- Loading branch information
Showing
240 changed files
with
858 additions
and
643 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
name: Review Pull Request | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Continuous Integration] | ||
types: | ||
- completed | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
review: | ||
if: github.event.workflow_run.event == 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Emit workflow event" | ||
env: | ||
GITHUB_CONTEXT: ${{ toJson(github) }} | ||
run: | | ||
echo "$GITHUB_CONTEXT" | ||
- name: 'Download artifact' | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
run_id: context.payload.workflow_run.id, | ||
}); | ||
let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => { | ||
return artifact.name == "pr_number" | ||
})[0]; | ||
let download = await github.rest.actions.downloadArtifact({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
artifact_id: matchArtifact.id, | ||
archive_format: 'zip', | ||
}); | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const temp = '${{ runner.temp }}/artifacts'; | ||
if (!fs.existsSync(temp)){ | ||
fs.mkdirSync(temp); | ||
} | ||
fs.writeFileSync(path.join(temp, 'pr_number.zip'), Buffer.from(download.data)); | ||
- name: 'Unzip artifact' | ||
run: | | ||
cd "${{ runner.temp }}/artifacts" | ||
unzip pr_number.zip -d "${{ runner.temp }}/artifacts" | ||
- name: 'Get issue number from file' | ||
uses: actions/github-script@v7 | ||
id: get-number | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const temp = '${{ runner.temp }}/artifacts'; | ||
const issue_number = Number(fs.readFileSync(path.join(temp, 'pr_number'))); | ||
return issue_number; | ||
- name: 'Write issue number as output' | ||
env: | ||
ISSUE_NUMBER: ${{ steps.get-number.outputs.result }} | ||
run: | | ||
echo "got issue number $ISSUE_NUMBER" | ||
- name: 'Mark PR as needing work' | ||
if: github.event.workflow_run.conclusion == 'failure' | ||
env: | ||
GH_TOKEN: ${{ secrets.SHIFTBOT_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ steps.get-number.outputs.result }} | ||
run: | | ||
echo "TODO: remove label needs-review for PR $NUMBER (if set)" | ||
gh pr edit "$NUMBER" --remove-label needs-review | ||
echo "TODO: set label needs-work for PR $NUMBER" | ||
gh pr edit "$NUMBER" --add-label needs-work | ||
- name: 'Mark PR as ready for review' | ||
if: github.event.workflow_run.conclusion != 'failure' | ||
env: | ||
GH_TOKEN: ${{ secrets.SHIFTBOT_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ steps.get-number.outputs.result }} | ||
run: | | ||
echo "TODO: remove label needs-work for PR $NUMBER (if set)" | ||
gh pr edit "$NUMBER" --remove-label needs-work | ||
echo "TODO: set label needs-review for PR $NUMBER" | ||
gh pr edit "$NUMBER" --add-label needs-review |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: 'Close stale PR' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
repo-token: ${{ secrets.SHIFTBOT_TOKEN }} | ||
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity and requires further work. Remove the stale label or comment otherwise this will be closed in a week.' | ||
any-of-pr-labels: 'needs-work,has-questions' | ||
exempt-pr-labels: 'needs-review,needs-engineering-work' | ||
stale-pr-label: stale | ||
close-pr-message: 'This pull request was closed because it has been inactive for a week with no additional activity.' | ||
days-before-stale: 30 | ||
days-before-issue-stale: -1 # do not mark inactive issues as stale | ||
days-before-close: 7 | ||
days-before-issue-close: -1 # do not touch inactive issues |
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ upforgrabs: | |
stats: | ||
issue-count: 14 | ||
last-updated: '2024-12-17T11:05:05Z' | ||
fork-count: 194 | ||
fork-count: 193 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ upforgrabs: | |
stats: | ||
issue-count: 4 | ||
last-updated: '2024-10-27T14:20:32Z' | ||
fork-count: 3892 | ||
fork-count: 3893 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ upforgrabs: | |
stats: | ||
issue-count: 18 | ||
last-updated: '2024-12-10T00:52:25Z' | ||
fork-count: 595 | ||
fork-count: 596 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ upforgrabs: | |
stats: | ||
issue-count: 6 | ||
last-updated: '2024-12-26T10:04:04Z' | ||
fork-count: 3799 | ||
fork-count: 3798 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ upforgrabs: | |
stats: | ||
issue-count: 2 | ||
last-updated: '2024-08-10T21:32:48Z' | ||
fork-count: 410 | ||
fork-count: 411 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ upforgrabs: | |
stats: | ||
issue-count: 2 | ||
last-updated: '2024-11-08T11:58:58Z' | ||
fork-count: 75 | ||
fork-count: 76 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ upforgrabs: | |
stats: | ||
issue-count: 11 | ||
last-updated: '2024-07-06T17:29:30Z' | ||
fork-count: 5655 | ||
fork-count: 5653 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ upforgrabs: | |
stats: | ||
issue-count: 45 | ||
last-updated: '2024-10-26T08:23:16Z' | ||
fork-count: 1197 | ||
fork-count: 1198 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ upforgrabs: | |
stats: | ||
issue-count: 94 | ||
last-updated: '2024-12-29T17:21:35Z' | ||
fork-count: 6991 | ||
fork-count: 6992 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ upforgrabs: | |
stats: | ||
issue-count: 12 | ||
last-updated: '2024-10-03T09:29:45Z' | ||
fork-count: 412 | ||
fork-count: 413 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ upforgrabs: | |
stats: | ||
issue-count: 4 | ||
last-updated: '2024-08-01T11:09:47Z' | ||
fork-count: 411 | ||
fork-count: 412 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ upforgrabs: | |
stats: | ||
issue-count: 18 | ||
last-updated: '2024-12-20T04:56:19Z' | ||
fork-count: 726 | ||
fork-count: 729 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ upforgrabs: | |
stats: | ||
issue-count: 19 | ||
last-updated: '2023-04-30T07:19:34Z' | ||
fork-count: 390 | ||
fork-count: 391 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ upforgrabs: | |
stats: | ||
issue-count: 20 | ||
last-updated: '2024-10-25T07:17:55Z' | ||
fork-count: 391 | ||
fork-count: 390 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ upforgrabs: | |
stats: | ||
issue-count: 5 | ||
last-updated: '2024-12-27T08:04:45Z' | ||
fork-count: 885 | ||
fork-count: 888 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ upforgrabs: | |
stats: | ||
issue-count: 39 | ||
last-updated: '2024-12-21T13:37:57Z' | ||
fork-count: 803 | ||
fork-count: 805 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ upforgrabs: | |
stats: | ||
issue-count: 3 | ||
last-updated: '2020-06-15T09:34:17Z' | ||
fork-count: 73 | ||
fork-count: 74 |
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ upforgrabs: | |
stats: | ||
issue-count: 55 | ||
last-updated: '2024-01-25T00:49:12Z' | ||
fork-count: 3009 | ||
fork-count: 3022 |
Oops, something went wrong.