Skip to content

Commit 2b559b5

Browse files
Update pr-agent.yaml (#40)
* Update pr-agent.yaml * terraform-docs: automated action --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 5781adf commit 2b559b5

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

.github/workflows/pr-agent.yaml

+22-14
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
#on:
2-
# pull_request:
3-
# issue_comment:
4-
#jobs:
5-
# pr_agent_job:
6-
# runs-on: ubuntu-20.04
7-
# name: Run pr agent on every pull request, respond to user comments
8-
# steps:
9-
# - name: PR Agent action step
10-
# id: pragent
11-
# uses: Codium-ai/pr-agent@main
12-
# env:
13-
# OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
14-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1+
name: Generate terraform docs
2+
permissions: read-all
3+
4+
on:
5+
- pull_request
6+
7+
jobs:
8+
pr-agent:
9+
permissions:
10+
actions: write
11+
contents: write
12+
pull-requests: write
13+
issues: write
14+
runs-on: ubuntu-20.04
15+
name: Run pr agent on every pull request, respond to user comments
16+
steps:
17+
- name: PR Agent action step
18+
id: pragent
19+
uses: Codium-ai/pr-agent@main
20+
env:
21+
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)