From 792cdf98d02dd960a96852548fe4bbedc788a23c Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Wed, 16 Nov 2022 13:58:34 -0500 Subject: [PATCH] [Actions] Add the action to perform a bump in the unified pipeline. --- .github/workflows/sdk-insertion-bump.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/sdk-insertion-bump.yml diff --git a/.github/workflows/sdk-insertion-bump.yml b/.github/workflows/sdk-insertion-bump.yml new file mode 100644 index 000000000000..ff19487d06e7 --- /dev/null +++ b/.github/workflows/sdk-insertion-bump.yml @@ -0,0 +1,24 @@ +name: Notify release branch change + +on: + # trigger for main and release branches. + push: + branches: + - '*' + +jobs: + pingRemote: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: 'Ping remote repository' + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.SERVICEACCOUNT_PAT }} + event-type: 'sdk_insertion' + repository: 'xamarin/sdk-insertions' + client-payload: '{"repository": "xamarin/xamarin-macios", "branch": "${{ github.ref_name }}", "commit": "${{ github.sha }}", "commit_message": "${{ github.event.head_commit.message }}"}' + +