We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd7aecb commit 42fa4b6Copy full SHA for 42fa4b6
.github/workflows/pr_check.yml
@@ -0,0 +1,21 @@
1
+# Check pull requests.
2
+
3
+name: Check pull request
4
5
+# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
6
+on:
7
+ # Trigger workflow on pull request.
8
+ pull_request:
9
+ # branches: [ ci ]
10
11
+jobs:
12
+ check_pull_request:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ with:
18
+ fetch-depth: 2
19
+ - name: Check for whitespace issues.
20
+ run: git diff --check HEAD^
21
+ # TODO: Add more checks here (codespell, ...).
0 commit comments