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 f8d1456 commit 6a7baa1Copy full SHA for 6a7baa1
1 file changed
.github/workflows/tests.yaml
@@ -67,3 +67,24 @@ jobs:
67
tox --parallel --parallel-no-spinner --skip-missing-interpreters=false
68
env:
69
DATABASE_URL: postgres://postgres:postgres@localhost/django_integrity
70
+
71
+ validate_commits:
72
+ runs-on: ubuntu-22.04
73
+ timeout-minutes: 5
74
75
+ # Only check commits on PR branches, where they can be changed.
76
+ if: github.event_name == 'pull_request'
77
78
+ steps:
79
+ - uses: actions/checkout@v5
80
+ with:
81
+ ref: ${{ github.head_ref }}
82
+ fetch-depth: 0
83
+ - run: |
84
+ git fetch origin main
85
+ git branch main origin/main
86
+ - uses: actions/setup-python@v6
87
88
+ python-version: "3.14"
89
+ - run: pip install validate_commits
90
+ - run: validate-commits
0 commit comments