forked from rancher/fleet
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 874 Bytes
/
check-changes.yml
File metadata and controls
36 lines (32 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Check for unallowed changes
on:
pull_request:
env:
MAIN_BRANCH: origin/main
GOARCH: amd64
CGO_ENABLED: 0
jobs:
check-changes:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0
-
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
with:
go-version-file: 'go.mod'
check-latest: true
-
name: Install Ginkgo CLI
run: go install github.com/onsi/ginkgo/v2/ginkgo
-
name: go.mod
run: ./.github/scripts/check-for-go-mod-changes.sh
-
name: generate.go
run: ./.github/scripts/check-for-auto-generated-changes.sh
-
name: known-hosts
run: ./.github/scripts/check-for-known-hosts-changes.sh $GITHUB_BASE_REF