Skip to content

fix lintr

fix lintr #3

Workflow file for this run

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:

Check failure on line 13 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yaml

Invalid workflow file

You have an error in your yaml syntax on line 13
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/*",