forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29768b4
commit 6d3acfd
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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: 0 | ||
|
||
- name: Checkout desktop repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: dothq/browser-desktop | ||
path: dot | ||
|
||
- name: Initialise mach | ||
working-directory: ./dot | ||
run: | | ||
./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 |