forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 34
31 lines (29 loc) · 1005 Bytes
/
pr-agent.yaml
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
name: PR-Agent
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
issue_comment:
jobs:
prevent-no-label-execution-pr-agent:
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
with:
label: tag:pr-agent
pr_agent_job:
needs: prevent-no-label-execution-pr-agent
if: ${{ needs.prevent-no-label-execution-pr-agent.outputs.run == 'true' }}
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
name: Run pr agent on every pull request, respond to user comments
steps:
- name: PR Agent action step
id: pragent
uses: Codium-ai/pr-agent@main
env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY_PR_AGENT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_action_config.auto_review: "false"
github_action_config.auto_describe: "false"
github_action_config.auto_improve: "false"