We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2acefdd commit 2b02357Copy full SHA for 2b02357
.github/workflows/validate.yml
@@ -0,0 +1,16 @@
1
+name: Validate PR
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened, synchronize, reopened]
6
7
+jobs:
8
+ check-files:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - name: Check for unwanted files
13
+ run: |
14
+ git diff --name-only origin/main | grep -E '(^\.dart_tool/|pubspec.lock)' && \
15
+ echo "❌ Unwanted file changes detected. Please remove pubspec.lock or .dart_tool changes." && exit 1 || \
16
+ echo "✅ No unwanted file changes."
0 commit comments