-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update pr-agent.yaml * terraform-docs: automated action --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
5781adf
commit 2b559b5
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
#on: | ||
# pull_request: | ||
# issue_comment: | ||
#jobs: | ||
# pr_agent_job: | ||
# runs-on: ubuntu-20.04 | ||
# 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 }} | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
name: Generate terraform docs | ||
permissions: read-all | ||
|
||
on: | ||
- pull_request | ||
|
||
jobs: | ||
pr-agent: | ||
permissions: | ||
actions: write | ||
contents: write | ||
pull-requests: write | ||
issues: write | ||
runs-on: ubuntu-20.04 | ||
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 }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |