mirror of
https://github.com/bitwarden/browser
synced 2024-12-22 07:57:01 +01:00
[DEVOPS-1421] fix auto branch updater (#5710)
* [DEVOPS-1421] Fix syntax error * add a fetch-depth to fetch the branches * Add the relative repo name to the branch being merged * remove testing branch
This commit is contained in:
parent
a009ca3cfa
commit
e615a2cd09
6
.github/workflows/auto-branch-updater.yml
vendored
6
.github/workflows/auto-branch-updater.yml
vendored
@ -6,7 +6,6 @@ on:
|
||||
branches:
|
||||
- 'master'
|
||||
- 'rc'
|
||||
- 'DEVOPS-1421_auto-branch-updater-test'
|
||||
paths:
|
||||
- 'apps/web/**'
|
||||
- 'libs/**'
|
||||
@ -27,16 +26,17 @@ jobs:
|
||||
steps:
|
||||
- name: Setup
|
||||
id: setup
|
||||
run: echo "branch=${GITHUB_REF#/refs/heads/}" >> $GITHUB_OUTPUT
|
||||
run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||
with:
|
||||
ref: 'eu-web-${{ steps.setup.outputs.branch }}'
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Merge ${{ steps.setup.outputs.branch }}
|
||||
run: |
|
||||
git config --local user.email "${{ env._BOT_EMAIL }}"
|
||||
git config --local user.name "${{ env._BOT_NAME }}"
|
||||
git merge ${{ steps.setup.outputs.branch }}
|
||||
git merge origin/${{ steps.setup.outputs.branch }}
|
||||
git push
|
||||
|
Loading…
Reference in New Issue
Block a user