We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffdc1d4 commit 871c244Copy full SHA for 871c244
.github/workflows/pr.yml
@@ -23,6 +23,21 @@ jobs:
23
- name: Execute commitlint
24
run: npx commitlint --from=origin/${{ github.base_ref }}
25
26
+ - name: Get PR Title
27
+ run: "echo 'PR Title: ${{ github.event.pull_request.title }}'"
28
+
29
+ - name: Get PR Body
30
+ run: 'echo "PR Body: ${{ github.event.pull_request.body }}"'
31
32
+ - name: Fetch commits
33
+ run: git fetch origin ${{ github.event.pull_request.head.ref }}
34
35
+ - name: Get commit messages
36
+ run: |
37
+ git log --pretty=format:'%s' --abbrev-commit ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} > commits.txt
38
+ echo "Commit Messages:"
39
+ cat commits.txt
40
41
check-file-format:
42
name: Check files changes follow guidelines
43
runs-on: ubuntu-latest
0 commit comments