Skip to content

Commit

Permalink
ci(codium): Add codium agent to PRs for MSstats (#141)
Browse files Browse the repository at this point in the history
* ci(codium): Add codium agent to PRs for MSstats

* add openAI org secret to template
  • Loading branch information
tonywu1999 authored Oct 31, 2024
1 parent 7f41296 commit cf7f650
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/codium-pr-agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
pull_request:
types: [opened]
jobs:
pr_agent_job:
if: ${{ github.event.sender.type != 'Bot' }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
name: Run pr agent on every pull request
steps:
- name: PR Agent action step
id: pragent
uses: Codium-ai/pr-agent@main
env:
OPENAI_KEY: ${{ secrets.MSSTATS_OPENAI_KEY }}
OPENAI_ORG: ${{ secrets.MSSTATS_OPENAI_ORG }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cf7f650

Please sign in to comment.