Skip to content

Commit

Permalink
Update pr-agent.yaml (#40)
Browse files Browse the repository at this point in the history
* Update pr-agent.yaml

* terraform-docs: automated action

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
lucasmelogithub and github-actions[bot] authored Oct 4, 2024
1 parent 5781adf commit 2b559b5
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions .github/workflows/pr-agent.yaml
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 }}

0 comments on commit 2b559b5

Please sign in to comment.