File tree 1 file changed +23
-0
lines changed 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -127,23 +127,46 @@ jobs:
127
127
ref : ${{ env.PR_BRANCH }}
128
128
fetch-depth : 0
129
129
130
+ - name : check changed files
131
+ uses : dorny/paths-filter@v2
132
+ id : filter
133
+ with :
134
+ filters : |
135
+ all:
136
+ - "**"
137
+ ignored:
138
+ - "docs/**"
139
+ - "README.md"
140
+ - "examples/web-server/**"
141
+ - "examples/monitoring/**"
142
+ - "examples/lima/**"
143
+ - "scripts/helm.sh"
144
+ - ".github/actions/**"
145
+ - ".github/workflows/**"
146
+ - "offlinedocs/**"
147
+
130
148
- name : Setup Node
149
+ if : steps.filter.outputs.all_count == steps.filter.outputs.ignored_count
131
150
uses : ./.github/actions/setup-node
132
151
133
152
- name : Setup Go
153
+ if : steps.filter.outputs.all_count == steps.filter.outputs.ignored_count
134
154
uses : ./.github/actions/setup-go
135
155
136
156
- name : Setup sqlc
157
+ if : steps.filter.outputs.all_count == steps.filter.outputs.ignored_count
137
158
uses : ./.github/actions/setup-sqlc
138
159
139
160
- name : GHCR Login
161
+ if : steps.filter.outputs.all_count == steps.filter.outputs.ignored_count
140
162
uses : docker/login-action@v2
141
163
with :
142
164
registry : ghcr.io
143
165
username : ${{ github.actor }}
144
166
password : ${{ secrets.GITHUB_TOKEN }}
145
167
146
168
- name : Build and push Linux amd64 Docker image
169
+ if : steps.filter.outputs.all_count == steps.filter.outputs.ignored_count
147
170
run : |
148
171
set -euxo pipefail
149
172
go mod download
You can’t perform that action at this time.
0 commit comments