mirror of
https://github.com/docker/compose.git
synced 2025-07-31 01:24:15 +02:00
Add branch configuration for pull_request trigger
Signed-off-by: temenuzhka-thede <temenuzhka.thede@docker.com> Add check-latest option to set up go step Signed-off-by: temenuzhka-thede <temenuzhka.thede@docker.com>
This commit is contained in:
parent
c48e3c4a4f
commit
d9e0e42d95
7
.github/workflows/codeql.yml
vendored
7
.github/workflows/codeql.yml
vendored
@ -10,6 +10,8 @@ on:
|
|||||||
- '**/*.yaml'
|
- '**/*.yaml'
|
||||||
- '**/*_test.go'
|
- '**/*_test.go'
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
- '**/*.txt'
|
- '**/*.txt'
|
||||||
@ -33,13 +35,14 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout repository
|
name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
-
|
-
|
||||||
name: Update Go
|
name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
|
check-latest: true
|
||||||
-
|
-
|
||||||
name: Initialize CodeQL
|
name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user