Skip to content

Add sync browser-desktop workflow #3

Add sync browser-desktop workflow

Add sync browser-desktop workflow #3

Workflow file for this run

name: "Synchronise browser-desktop"
on:
pull_request:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
fetch-depth: 1000
- name: Checkout desktop repo
uses: actions/checkout@v4
with:
repository: dothq/browser-desktop
path: dot
- name: Initialise mach
working-directory: ./dot
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
./scripts/install_mach_commands.py
- name: Bump the revision file
working-directory: ./dot
run: |
echo "${{ github.server_url }}/${{ github.repository }}.git ${{ github.sha }} ${{ github.base_ref }}" > REVISION
- name: Synchronise repositories
working-directory: ./dot
run: |
./mach sync