From d6e151dfccbc32ab6a8f08bf35a995fad923d9d6 Mon Sep 17 00:00:00 2001 From: Aaron Gable Date: Tue, 14 Jun 2022 15:53:25 -0700 Subject: [PATCH] Automatically add new issues to triage project (#6165) Create a GitHub Actions workflow that automatically adds newly-filed bugs to https://github.com/orgs/letsencrypt/projects/6. The `ADD_TO_PROJECT_PAT` secret is a Personal Access Token configured as laid out at https://github.com/actions/add-to-project#creating-a-pat-and-adding-it-to-your-repository --- .github/workflows/add-to-project | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/add-to-project diff --git a/.github/workflows/add-to-project b/.github/workflows/add-to-project new file mode 100644 index 000000000..8ff7b1802 --- /dev/null +++ b/.github/workflows/add-to-project @@ -0,0 +1,16 @@ +name: Add new bugs to triage project + +on: + issues: + types: + - opened + +jobs: + add-to-project: + name: Add issue to triage project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/letsencrypt/projects/6 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}