gci: Do not try to rebase if we're on master already
Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
8d5be61fcb
commit
62fdfe7f0b
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -33,6 +33,8 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Rebase
|
||||
# We can't rebase if we're on master already.
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
|
||||
Reference in New Issue
Block a user