-
Notifications
You must be signed in to change notification settings - Fork 271
39 lines (35 loc) · 944 Bytes
/
check-changes.yml
File metadata and controls
39 lines (35 loc) · 944 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
37
38
39
name: Check for unallowed changes
on:
pull_request:
push:
branches:
- '*-hotfix-*'
env:
MAIN_BRANCH: origin/main
GOARCH: amd64
CGO_ENABLED: 0
jobs:
check-changes:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
-
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: 'go.mod'
-
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
if: github.event_name == 'pull_request'
run: ./.github/scripts/check-for-known-hosts-changes.sh "$GITHUB_BASE_REF"