Skip to content

Commit

Permalink
Update check-sync.yml
Browse files Browse the repository at this point in the history
Changed bracnh name from main to master
  • Loading branch information
angadhn authored Sep 6, 2024
1 parent 7ba9482 commit 85d9708
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check-sync.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Check Sync with Main
name: Check Sync with Master

on:
pull_request:
types: [synchronize, opened, reopened]
push:
branches:
- main
- master

jobs:
check-sync:
Expand All @@ -21,11 +21,11 @@ jobs:

- name: Fetch main branch
run: |
git fetch origin main
git fetch origin master
- name: Check if branch is up-to-date with main
- name: Check if branch is up-to-date with master
run: |
git merge-base --is-ancestor origin/main HEAD
git merge-base --is-ancestor origin/master HEAD
- name: Fail if not up-to-date
if: failure()
run: |
Expand Down

0 comments on commit 85d9708

Please sign in to comment.