From 4597ad1e71bb7e0f5a9df1f803b33db8c5d414c3 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 16 Nov 2023 09:20:45 -0600 Subject: [PATCH] Add new file --- .github/workflows/revsys.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/revsys.yml diff --git a/.github/workflows/revsys.yml b/.github/workflows/revsys.yml new file mode 100644 index 0000000..013730f --- /dev/null +++ b/.github/workflows/revsys.yml @@ -0,0 +1,28 @@ +name: Add to REVSYS Backlog + +on: + issues: + types: + - labeled + pull_request: + types: + - labeled + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + if: github.event.label.name == 'revsys' + steps: + - uses: 1password/load-secrets-action@v1 + with: + export-env: true + env: + OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} + REVSYS_PROJECT_URL: "op://GitHub Actions/REVSYS Project/url" + REVSYS_PROJECT_PAT: "op://GitHub Actions/REVSYS Project/PAT" + + - uses: actions/add-to-project@v0.5.0 + with: + project-url: ${{ env.REVSYS_PROJECT_URL }} + github-token: ${{ env.REVSYS_PROJECT_PAT }}