File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 35
35
ts : ${{ steps.filter.outputs.ts }}
36
36
k8s : ${{ steps.filter.outputs.k8s }}
37
37
ci : ${{ steps.filter.outputs.ci }}
38
+ offlinedocs-only : ${{ steps.filter.outputs.offlinedocs_count == steps.filter.outputs.all_count }}
38
39
offlinedocs : ${{ steps.filter.outputs.offlinedocs }}
39
40
steps :
40
41
- name : Checkout
@@ -102,6 +103,8 @@ jobs:
102
103
echo "${{ toJSON(steps.filter )}}"
103
104
104
105
lint :
106
+ needs : changes
107
+ if : needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
105
108
runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
106
109
steps :
107
110
- name : Checkout
@@ -199,6 +202,8 @@ jobs:
199
202
run : ./scripts/check_unstaged.sh
200
203
201
204
fmt :
205
+ needs : changes
206
+ if : needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
202
207
runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
203
208
timeout-minutes : 5
204
209
steps :
You can’t perform that action at this time.
0 commit comments