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 7851f8a commit aad6308Copy full SHA for aad6308
.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@v4
17
+ - name: Show whitespace issues.
18
+ run: git log --check ${{github.event.pull_request.base.sha}^}...
19
+ - name: Check for whitespace issues.
20
+ run: git log --check ${{github.event.pull_request.base.sha}}... | grep "^[^:+]*:[0-9]*:"
21
+ # TODO: Add more checks here (codespell, ...).
0 commit comments