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 e1caeb9 commit 101b487Copy full SHA for 101b487
.github/workflows/tests.yml
@@ -36,6 +36,8 @@ jobs:
36
runs-on: ${{ matrix.os }}
37
steps:
38
- uses: actions/checkout@v4
39
+ with:
40
+ fetch-depth: 1 # Fetch the latest commit to inspect its message
41
42
- name: Set up Python ${{ matrix.python-version }}
43
uses: actions/setup-python@v5
@@ -53,7 +55,7 @@ jobs:
53
55
54
56
- name: Fetch latest commit message
57
id: get_commit_message
- run: echo "COMMIT_MESSAGE=$(git log -1 --pretty=%B)" >> $GITHUB_ENV
58
+ run: echo "COMMIT_MESSAGE=$(git log -2 --pretty=%B)" >> $GITHUB_ENV
59
60
- name: Test with PyTest
61
env:
0 commit comments