Merge pull request #540 from namespacecomm/revert-539-Diksha #19
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: Sync Fork with Main | |
on: | |
push: | |
branches: | |
- master # Trigger on pushes to the main repository's master branch | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Node.js version 20 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20.x' | |
- name: Checkout main repo | |
uses: actions/checkout@v2 | |
with: | |
repository: namespacecomm/NSCC-BPIT-Website | |
ref: master | |
- name: Checkout fork | |
uses: actions/checkout@v2 | |
with: | |
repository: pradeeptosarkar/NSCC-BPIT-Website | |
- name: Merge changes from main repo | |
run: git merge master | |
- name: Push changes to fork | |
run: git push origin HEAD |