aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorRiley Park <[email protected]>2021-12-06 01:05:10 -0800
committerGitHub <[email protected]>2021-12-06 01:05:10 -0800
commit04897b13339c2cb8200e2bf618f7b04080dc4ef1 (patch)
tree7988af4414f146d55d398781482dbec63c6c8338 /.github
parentaf95df8d40d42f89d6f01d8cd22195322d9ed9a6 (diff)
downloadPaper-04897b13339c2cb8200e2bf618f7b04080dc4ef1.tar.gz
Paper-04897b13339c2cb8200e2bf618f7b04080dc4ef1.zip
[ci skip] Revert "Create workflow to add new PRs to the PR Queue project (#6918)" (#7046)
This reverts commit b8d486cbc4825d8bcb4d98c170f579571ae86bc7.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pr-board.yml42
1 files changed, 0 insertions, 42 deletions
diff --git a/.github/workflows/pr-board.yml b/.github/workflows/pr-board.yml
deleted file mode 100644
index 3e0a01c8d5..0000000000
--- a/.github/workflows/pr-board.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-# This workflow handles adding new PRs to the Paper PR Queue project:
-# https://github.com/orgs/PaperMC/projects/2/views/4
-
-# You can get the project ID via:
-# {
-# organization(login: "PaperMC") {
-# projectNext(number: 2) {
-# id
-# }
-# }
-#}
-
-name: PR Queue
-on:
- pull_request:
- types: [ opened ]
-
-jobs:
- addToBoard:
- runs-on: ubuntu-latest
- steps:
- - name: Generate token
- id: generate_token
- uses: tibdex/github-app-token@v1
- with:
- app_id: ${{ secrets.APP_ID }}
- private_key: ${{ secrets.APP_PEM }}
- - name: Add to board
- id: add-to-board
- uses: octokit/[email protected]
- with:
- query: |
- mutation {
- addProjectNextItem(input: {projectId: "PN_kwDOAHQads2-_A", contentId: "${{ github.event.pull_request.node_id }}"}) {
- projectNextItem {
- id
- }
- }
- }
- env:
- GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
- - run: "echo 'created: ${{ steps.add-to-board.outputs.data }}'"