From 394c62dfcaecf758ebd34e6d714dea368001c646 Mon Sep 17 00:00:00 2001 From: Jackson Hoffart Date: Thu, 8 Aug 2024 10:57:16 +0200 Subject: [PATCH] chore: Create issues-gh-to-ado.yml (#18) --- .github/workflows/issues-gh-to-ado.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/issues-gh-to-ado.yml diff --git a/.github/workflows/issues-gh-to-ado.yml b/.github/workflows/issues-gh-to-ado.yml new file mode 100644 index 0000000..2fee46d --- /dev/null +++ b/.github/workflows/issues-gh-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 }}