From eb33083b8b11e9586967514b40520542be1612ad Mon Sep 17 00:00:00 2001 From: lilgreenbird Date: Wed, 18 Dec 2024 13:27:15 -0800 Subject: [PATCH] test workflow --- .github/workflows/trigger-onebranch-ci.yml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/trigger-onebranch-ci.yml diff --git a/.github/workflows/trigger-onebranch-ci.yml b/.github/workflows/trigger-onebranch-ci.yml new file mode 100644 index 000000000..96cfd51b2 --- /dev/null +++ b/.github/workflows/trigger-onebranch-ci.yml @@ -0,0 +1,29 @@ +name: CI + +# Run this workflow every time a commit gets pushed to main +# This triggers the ADO OneBranch CI Pipeline +on: + push: + branches: + - '*' + +permissions: + contents: read + +jobs: + build: + name: Call OneBranch ADO Pipeline (CI) + runs-on: ubuntu-latest + steps: + - name: Harden Runner + uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 + with: + egress-policy: audit + + - name: Azure Pipelines Action + uses: Azure/pipelines@354dddefceb0b503a61338ca81e4091eae3bc84f # v1 + with: + azure-devops-project-url: https://sqlclientdrivers.visualstudio.com/mssql-jdbc + azure-pipeline-name: 'MSAL.NET-OneBranch-Release-Official' + azure-pipeline-name: 'mssql-jdbc-Official' + azure-devops-token: ${{ secrets.AZURE_DEVOPS_TOKEN }}