On-Demand Poe Task #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On-Demand Poe Task | |
on: | |
workflow_dispatch: | |
inputs: | |
pr: | |
description: "PR Number. If omitted, a new PR will be created." | |
type: string | |
required: false | |
comment-id: | |
description: "Comment ID (Optional)" | |
type: string | |
required: false | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: write | |
jobs: | |
run-poe-command: | |
env: | |
GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }} | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run Poe Slash Command Processor | |
uses: aaronsteers/[email protected] | |
with: | |
pr: ${{ github.event.inputs.pr }} | |
comment-id: ${{ github.event.inputs.comment-id }} | |
github-token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} |