Tcl reverse #770
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# | |
# .github/workflows/git-pr.yml | |
# | |
name: Git PR Checks | |
on: [pull_request] # yamllint disable-line rule:truthy | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
block-fixup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
id: checkout-repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Block Fixup Commit Merge | |
id: block-if-contains-fixups | |
uses: 13rac1/block-fixup-merge-action@v2.0.0 | |
- name: Show Git Version | |
id: git-version | |
run: | | |
git --version | |
- name: Get File Diff | |
id: git-file-diff | |
run: | | |
git diff --name-only HEAD^.. | |
- name: Get Log Diff | |
id: git-log-diff | |
run: |- | |
git log --color=auto --graph --pretty=format:'%Cred%<(8)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an> [%ce] %Creset%C(cyan)[gpg: %G?]%Creset' --abbrev-commit --decorate HEAD^.. |