File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 44 types : [created]
55jobs :
66 slashCommandDispatch :
7+ name : Dispatch
8+ if : startsWith(github.event.comment.body, '/')
79 runs-on : ubuntu-24.04
810 steps :
911 - name : Get PR repo and ref
@@ -14,11 +16,20 @@ jobs:
1416 echo ref="$(echo $pr_info | jq -r '.head.ref')" >> $GITHUB_OUTPUT
1517 echo repo="$(echo $pr_info | jq -r '.head.repo.full_name')" >> $GITHUB_OUTPUT
1618
19+ - name : Authenticate as GitHub App
20+ uses : actions/create-github-app-token@v2
21+ id : get-app-token
22+ with :
23+ owner : " airbytehq"
24+ repositories : " airbyte"
25+ app-id : ${{ secrets.OCTAVIA_BOT_APP_ID }}
26+ private-key : ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }}
27+
1728 - name : Slash Command Dispatch (Workflow)
1829 id : scd
1930 uses : peter-evans/slash-command-dispatch@v3
2031 with :
21- token : ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}
32+ token : ${{ steps.get-app-token.outputs.token }}
2233 permission : write
2334 dispatch-type : workflow
2435 issue-type : both
You can’t perform that action at this time.
0 commit comments