fix lintr #3
Workflow file for this run
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
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
jobs: | ||
hello_world_job: | ||
runs-on: ubuntu-latest | ||
name: ChatGPT explain code | ||
if: "!contains(github.event.commits[0].message, '[skip explain]')" | ||
steps: | ||
- name: ChatGTP explain code | ||
uses: gogonzo/[email protected] | ||
with: | ||
openai_api_key: ${{ secrets.openai_api_key }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
github_pr_id: ${{ github.event.number }} | ||
openai_engine: "text-davinci-002" #optional | ||
openai_temperature: 0.5 #optional | ||
openai_max_tokens: 2048 #optional | ||
mode: file # file or patch | ||
exclude: "**/*.json, **/*.md, man/*, data-raw/*", |