Add missing tokens to release workflow #4304
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
name: Verify KEB | |
on: | |
pull_request: | |
branches: [ main ] | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
paths-ignore: | |
- "**.md" | |
- "sec-scanners-config.yaml" | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
jobs: | |
run-go-tests: | |
uses: "./.github/workflows/run-unit-tests-reusable.yaml" | |
run-go-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up go environment | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- name: Go linter | |
env: | |
GOLINT_TIMEOUT: ${{ vars.GOLINT_TIMEOUT }} | |
run: make go-lint | |
run-go-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up go environment | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run go checks | |
run: make checks |