Code Monkey home page Code Monkey logo

pr-agent-wiki-conf's Introduction

pr-agent-wiki-conf

Community version of PR-Agent Wiki configuration file

Why?

  • PR-Agent Wiki configuration file feature is currently only available in the paid version (PR-Agent Pro)
  • This Composite Action provides functionality similar to the PR-Agent Wiki Configuration feature as Open Source
  • Provides functionality to make it easier to set and manage common extra_instructions

How does it work

Note: current support is extra_instructions config only

  1. Load .pr_agent.toml configuration from Wiki page
  2. Merge common_instructions and the env extra_instructions with the Wiki config value
  3. Set each extra_instructions to environment variables

How to Use

on:
  pull_request:
    types: [opened, reopened, ready_for_review]
  issue_comment:
jobs:
  pr_agent_job:
    if: ${{ github.event.sender.type != 'Bot' }}
    runs-on: ubuntu-latest
    permissions:
      issues: write
      pull-requests: write
      contents: write
    steps:
      - name: PR-Agent Wiki Configuration
        uses: idubnori/pr-agent-wiki-conf@main
        env:
          common_instructions: >-
            - Answer in Japanese.
          pr_reviewer.extra_instructions: >-
            - Additional second priority point: focus on the need for test code additions or changes to the application code changes.
      - name: PR Agent action step
        id: pragent
        uses: Codium-ai/pr-agent@main
        env:
          OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pr-agent-wiki-conf's People

Contributors

idubnori avatar

Stargazers

Tal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.