File tree Expand file tree Collapse file tree 1 file changed +63
-52
lines changed Expand file tree Collapse file tree 1 file changed +63
-52
lines changed Original file line number Diff line number Diff line change @@ -126,58 +126,69 @@ jobs:
126
126
name : Checks if sensitive files have been changed without authorization
127
127
needs : [Code-Quality-Checks]
128
128
runs-on : ubuntu-latest
129
- steps :
130
- - name : Checkout this repository
131
-
132
- - id : changed_files
133
- name : Get changed files
134
- uses :
tj-actions/[email protected]
135
- with :
136
- files : |
137
- .coderabbit.yaml
138
- Caddyfile
139
- codegen.ts
140
- Dockerfile*
141
- docker-compose*
142
- .dockerignore
143
- .env.sample
144
- .env_test
145
- eslint.config.mjs
146
- envFiles/**
147
- .gitignore
148
- init-mongo.sh
149
- .prettierignore
150
- .prettierrc.json
151
- .pylintrc
152
- .github/**
153
- biome.jsonc
154
- drizzle_migrations/**
155
- renovate.json
156
- requirements.txt
157
- schema.graphql
158
- CODEOWNERS
159
- LICENSE
160
- tsconfig.json
161
- vitest.config.ts
162
- pnpm-lock.yaml
163
- package.json
164
- package-lock.json
165
- .nojekyll
166
- docs/docusaurus.config.ts
167
- docs/sidebar*
168
- setup.ts
169
- tsconfig.build.json
170
- vite.config.mts
171
- CNAME
172
- CODE_OF_CONDUCT.md
173
- CODE_STYLE.md
174
- CONTRIBUTING.md
175
- DOCUMENTATION.md
176
- INSTALLATION.md
177
- ISSUE_GUIDELINES.md
178
- PR_GUIDELINES.md
179
- README.md
180
-
129
+ steps :
130
+ - name : Checkout this repository
131
+
132
+ - id : changed_files
133
+ name : Get changed files
134
+ uses :
tj-actions/[email protected]
135
+ with :
136
+ files : |
137
+ .coderabbit.yaml
138
+ Caddyfile
139
+ codegen.ts
140
+ Dockerfile*
141
+ docker-compose*
142
+ .dockerignore
143
+ .env.sample
144
+ .env_test
145
+ eslint.config.mjs
146
+ envFiles/**
147
+ .gitignore
148
+ init-mongo.sh
149
+ .prettierignore
150
+ .prettierrc.json
151
+ .pylintrc
152
+ .github/**
153
+ biome.jsonc
154
+ drizzle_migrations/**
155
+ renovate.json
156
+ requirements.txt
157
+ schema.graphql
158
+ CODEOWNERS
159
+ LICENSE
160
+ tsconfig.json
161
+ vitest.config.ts
162
+ pnpm-lock.yaml
163
+ package.json
164
+ package-lock.json
165
+ .nojekyll
166
+ docs/docusaurus.config.ts
167
+ docs/sidebar*
168
+ setup.ts
169
+ tsconfig.build.json
170
+ vite.config.mts
171
+ CNAME
172
+ CODE_OF_CONDUCT.md
173
+ CODE_STYLE.md
174
+ CONTRIBUTING.md
175
+ DOCUMENTATION.md
176
+ INSTALLATION.md
177
+ ISSUE_GUIDELINES.md
178
+ PR_GUIDELINES.md
179
+ README.md
180
+ - env :
181
+ CHANGED_FILES : ${{ steps.changed_files.outputs.all_changed_files }}
182
+ if : steps.changed_files.outputs.any_changed == 'true' || steps.changed_files.outputs.any_deleted == 'true'
183
+ name : Show changed files
184
+ run : |
185
+ echo "Unauthorized changes were made in the following files:"
186
+ for FILE in ${CHANGED_FILES}; do
187
+ echo "$FILE"
188
+ done
189
+ echo "To override this, apply the 'ignore-sensitive-files-pr' label"
190
+ exit 1
191
+
181
192
Run-Tests :
182
193
name : Run tests for talawa api
183
194
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments