Skip to content

Commit

Permalink
Add branch configuration for pull_request trigger
Browse files Browse the repository at this point in the history
Signed-off-by: temenuzhka-thede <[email protected]>

Add check-latest option to set up go step

Signed-off-by: temenuzhka-thede <[email protected]>
  • Loading branch information
temenuzhka-thede committed Oct 27, 2023
1 parent eb0e333 commit eb1c29c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- '**/*.yaml'
- '**/*_test.go'
pull_request:
branches:
- 'main'
paths-ignore:
- '**/*.md'
- '**/*.txt'
Expand All @@ -33,13 +35,14 @@ jobs:

steps:
-
name: Checkout repository
name: Checkout
uses: actions/checkout@v4
-
name: Update Go
name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
-
name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down

0 comments on commit eb1c29c

Please sign in to comment.