From 073f15c46d4ac726a8d47a9d18c9b4121e4b87ff Mon Sep 17 00:00:00 2001 From: Andy Lake Date: Tue, 9 May 2023 11:57:18 -0400 Subject: [PATCH] Adding github action to add issues to project --- .github/workflows/project_auto_add_issue.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/project_auto_add_issue.yml diff --git a/.github/workflows/project_auto_add_issue.yml b/.github/workflows/project_auto_add_issue.yml new file mode 100644 index 000000000..92fc2eec6 --- /dev/null +++ b/.github/workflows/project_auto_add_issue.yml @@ -0,0 +1,17 @@ +name: Adds all new issues to project board + +on: + issues: + types: + - opened + +jobs: + add-to-project: + name: Add issue to perfSONAR project + runs-on: ubuntu-latest + steps: + # NOTE: "uses" cannot be a variable so name and version hard-coded here + - uses: actions/add-to-project@v0.5.0 + with: + project-url: ${{ vars.PROJECT_PS_URL }} + github-token: ${{ secrets.PAT_PROJECT_PS_AUTO_ADD }} \ No newline at end of file