Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#86drpnn0q - Adicionar ai-codereviewer em todos os projetos que estam… #9

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

jplippi
Copy link
Contributor

@jplippi jplippi commented Mar 18, 2024

…os trabalhando

@melanke
Copy link
Member

melanke commented Mar 18, 2024

types:
- opened
- synchronize
permissions: write-all

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The permissions: write-all setting gives all permissions to all actions. This can be a security risk. It's recommended to only grant the necessary permissions for each action.

runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are using actions/checkout@v3 which is not the latest version. Consider updating to the latest version to get the latest features and bug fixes.

uses: actions/checkout@v3

- name: AI Code Reviewer
uses: simplitech/ai-codereviewer@main

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are using the main branch of the simplitech/ai-codereviewer action. It's recommended to use a specific version of an action to ensure your workflows are not broken by changes in the main branch.

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4"
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The exclude field is excluding all .json and .md files. Make sure this is the intended behavior as it might exclude important files from the code review.

@jplippi jplippi merged commit 0415256 into main Mar 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants