Skip to content

update permissions

update permissions #60

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "00 5 * * SAT"
jobs:
codeql:
permissions:
actions: read
contents: read
security-events: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "^1.21.1"
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2