Update GITHUB_TOKEN to MY_GITHUB_TOKEN in code-scan.yml and main.py #53
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
name: Code Scan | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Gemini Code Scanner | |
uses: ./ | |
env: | |
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} | |
MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |