mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Add master rebase to build workflow (#10888)
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
1bceb6dbe7
commit
17e1c5d447
10
.github/workflows/Build.yml
vendored
10
.github/workflows/Build.yml
vendored
@@ -162,6 +162,16 @@ jobs:
|
||||
clean: false
|
||||
persist-credentials: true
|
||||
ref: ${{ github.ref_name }}
|
||||
- name: Rebase to Master
|
||||
run: |
|
||||
git config user.name "${{ github.actor }}"
|
||||
git config user.email "${{ github.actor }}@users.noreply.github.com"
|
||||
git pull origin master --rebase
|
||||
git commit -m "Rebase ${{ github.ref_name }} to master."
|
||||
- name: Push rebase
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
branch: ${{ github.ref_name }}
|
||||
- name: Create Pull Request
|
||||
env:
|
||||
CREW_BRANCH: ${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user