PM-4977 Migrate Preferences component (#8663) #2
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
--- | |
name: Auto Update Branch | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'rc' | |
paths: | |
- 'apps/web/**' | |
- 'libs/**' | |
- '*' | |
- '!*.md' | |
- '!*.txt' | |
- '.github/workflows/build-web.yml' | |
workflow_dispatch: | |
inputs: {} | |
jobs: | |
update: | |
name: Update Branch | |
runs-on: ubuntu-22.04 | |
env: | |
_BOT_EMAIL: [email protected] | |
_BOT_NAME: bitwarden-devops-bot | |
steps: | |
- name: Setup | |
id: setup | |
run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT | |
- name: Checkout repo | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
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 origin/${{ steps.setup.outputs.branch }} | |
git push |