Skip to content

Commit

Permalink
Devtools - Trigger Error Code PR after npm Release
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Apr 2, 2024
1 parent e8556c3 commit 6752a47
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/devtools-errorcodes.yml
Original file line number Diff line number Diff line change
@@ -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:
publish:
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 }}

0 comments on commit 6752a47

Please sign in to comment.