Skip to content

Commit d9e0e42

Browse files
temenuzhka-thedendeloof
authored andcommitted
Add branch configuration for pull_request trigger
Signed-off-by: temenuzhka-thede <[email protected]> Add check-latest option to set up go step Signed-off-by: temenuzhka-thede <[email protected]>
1 parent c48e3c4 commit d9e0e42

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- '**/*.yaml'
1111
- '**/*_test.go'
1212
pull_request:
13+
branches:
14+
- 'main'
1315
paths-ignore:
1416
- '**/*.md'
1517
- '**/*.txt'
@@ -33,13 +35,14 @@ jobs:
3335

3436
steps:
3537
-
36-
name: Checkout repository
38+
name: Checkout
3739
uses: actions/checkout@v4
3840
-
39-
name: Update Go
41+
name: Set up Go
4042
uses: actions/setup-go@v4
4143
with:
4244
go-version-file: go.mod
45+
check-latest: true
4346
-
4447
name: Initialize CodeQL
4548
uses: github/codeql-action/init@v2

0 commit comments

Comments
 (0)