File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 2323 - name: Execute commitlint
2424 run: npx commitlint --from=origin/${{ github.base_ref }}
2525
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+
2641 check-file-format:
2742 name: Check files changes follow guidelines
2843 runs-on: ubuntu-latest
You can’t perform that action at this time.
0 commit comments