mirror of https://github.com/docker/compose.git
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
|
@ -10,6 +10,8 @@ on:
|
|||
- '**/*.yaml'
|
||||
- '**/*_test.go'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/*.txt'
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue