Skip to content

Commit 8455393

Browse files
committed
remove origin/ prefix
1 parent d96881b commit 8455393

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/git-commit-checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def check_all_commits(config, repo):
300300
# set of commits.
301301
git_cli = git.cmd.Git(GITHUB_WORKSPACE)
302302
hashes = git_cli.log(f"--pretty=format:%h",
303-
f"origin/{GITHUB_BASE_REF}..{GITHUB_HEAD_REF}").splitlines()
303+
f"{GITHUB_BASE_REF}..{GITHUB_HEAD_REF}").splitlines()
304304

305305
#------------------------------------------------------------------------
306306

.github/workflows/git-commit-checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: Check all git commits
3636
run: |
3737
env | sort
38+
echo ================
39+
git branch -a
40+
echo =================
3841
$GITHUB_WORKSPACE/.github/workflows/git-commit-checks.py
3942
env:
4043
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)