From b8c74c59e3104d541c945be760ffcd5f38d30e9c Mon Sep 17 00:00:00 2001 From: CJ Yetman Date: Sat, 27 Apr 2024 10:54:59 +0200 Subject: [PATCH] Create issues-to-ado.yml (#41) --- .github/workflows/issues-to-ado.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/issues-to-ado.yml diff --git a/.github/workflows/issues-to-ado.yml b/.github/workflows/issues-to-ado.yml new file mode 100644 index 0000000..9212f85 --- /dev/null +++ b/.github/workflows/issues-to-ado.yml @@ -0,0 +1,26 @@ +--- +# This example file will enable actions that trigger on created or modified GitHub issues. +# +# Note the @main in `uses:` on the last line. This will call the latest version of the workflow from the `main` branch in the RMI-PACTA/actions repo. +# You can also specify a tag from that repo, or a commit SHA to pin action versions. +on: + issues: + types: + [opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned] + issue_comment: + types: [created, edited, deleted] + +name: GH issues + +permissions: + issues: write + pull-requests: write + +jobs: + issues: + name: Run issues workflows + uses: RMI-PACTA/actions/.github/workflows/issues.yml@main + with: + ado_area_path: "2DegreesInvesting\\GitHub Issues" + secrets: + ADO_TOKEN: ${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}