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 }}