From c0aefcbe9c18cc77776e15ded3dcedcca87800f7 Mon Sep 17 00:00:00 2001 From: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> Date: Sat, 28 Sep 2024 15:19:40 +0900 Subject: [PATCH] Create add_to_octokit_project.yml Signed-off-by: 0x5BFA <62196528+0x5bfa@users.noreply.github.com> --- .github/workflows/add_to_octokit_project.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/add_to_octokit_project.yml diff --git a/.github/workflows/add_to_octokit_project.yml b/.github/workflows/add_to_octokit_project.yml new file mode 100644 index 00000000..936e1f4f --- /dev/null +++ b/.github/workflows/add_to_octokit_project.yml @@ -0,0 +1,20 @@ +name: Add PRs and issues to Octokit org project + +on: + issues: + types: [reopened, opened] + pull_request_target: + types: [reopened, opened] + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/add-to-project@v1.0.1 + with: + project-url: https://github.com/orgs/octokit/projects/10 + github-token: ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }} + labeled: "Status: Stale" + label-operator: NOT