-
Notifications
You must be signed in to change notification settings - Fork 71
35 lines (31 loc) · 976 Bytes
/
poe-command.yml
File metadata and controls
35 lines (31 loc) · 976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: On-Demand Poe Task
on:
workflow_dispatch:
inputs:
comment-id:
description: "Optional comment-id of the slash command. Ignore if not applicable."
required: false
pr:
description: "PR Number"
required: false
permissions:
contents: write
pull-requests: write
jobs:
run-poe-command:
runs-on: ubuntu-latest
steps:
- name: Authenticate as GitHub App
uses: actions/create-github-app-token@v2
id: get-app-token
with:
owner: "airbytehq"
repositories: "PyAirbyte"
app-id: ${{ secrets.OCTAVIA_BOT_APP_ID }}
private-key: ${{ secrets.OCTAVIA_BOT_PRIVATE_KEY }}
- name: Run Poe Slash Command Processor
uses: aaronsteers/poe-command-processor@v1.3.3
with:
pr: ${{ github.event.inputs.pr }}
comment-id: ${{ github.event.inputs.comment-id }}
github-token: ${{ steps.get-app-token.outputs.token }}