From 285b2d9c7bc9e9a1893a8705fc8ac2971225ea8a Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Tue, 2 Apr 2024 18:30:09 +0200 Subject: [PATCH] Devtools - Trigger Error Code PR after npm Release (#11745) * Devtools - Trigger Error Code PR after npm Release * rename job --- .github/workflows/devtools-errorcodes.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/devtools-errorcodes.yml diff --git a/.github/workflows/devtools-errorcodes.yml b/.github/workflows/devtools-errorcodes.yml new file mode 100644 index 00000000000..747b5cc236f --- /dev/null +++ b/.github/workflows/devtools-errorcodes.yml @@ -0,0 +1,22 @@ +name: Devtools - Trigger Error Code PR after npm Release +on: + workflow_dispatch: # for testing + workflow_run: + workflows: ["Prerelease", "Release"] + types: + - completed +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - uses: actions/create-github-app-token@v1 + id: github-actions-bot-app-token + with: + app-id: 819772 + private-key: ${{ secrets.APOLLO_GITHUB_ACTIONS_BOT_PRIVATE_KEY }} + repositories: apollo-client-devtools + - uses: benc-uk/workflow-dispatch@v1 + with: + workflow: update-errorcodes.yml + repo: apollographql/apollo-client-devtools + token: ${{ steps.github-actions-bot-app-token.outputs.token }}