Innovateninjas / Paws-frontend

A fast responsive webapp that allows you to report injured stray animals to the nearest NGOs.
https://pawss.vercel.app
GNU General Public License v3.0
60 stars 99 forks source link

Create sync-fork-workflow.yml #459

Closed MohanRamSridhar closed 3 months ago

MohanRamSridhar commented 3 months ago

Description

This pull request adds a GitHub Actions workflow that automatically keeps our forked repository in sync with the upstream repository. The workflow is triggered whenever there is a push or merge to the main branch of the upstream repository, ensuring our fork stays up-to-date.

Related Issue

433

Checklist:

Configuration Required:

  1. Create a Personal Access Token (PAT) with repo permissions.
  2. Add the PAT as a secret named PAT in the repository settings under Settings -> Secrets and variables -> Actions.
MohanRamSridhar commented 3 months ago

Can you please do the configuration changes that are required for this to run proper;y

codewarnab commented 3 months ago

ok i am testing it will let you know in 24 h

codewarnab commented 3 months ago

do one thing add it in the workflow folder where it should be and give the pr instead of txt it will not cause any issue if it has no upstream right ?

MohanRamSridhar commented 3 months ago

hey I wasn't able to catch it, you want to me rename the file to yml right?

codewarnab commented 3 months ago

hey I wasn't able to catch it, you want to me rename the file to yml right?

yes and place it under .github/workflow folder where it should be to work properly

MohanRamSridhar commented 3 months ago

hey I have done the commits can you check it

MohanRamSridhar commented 3 months ago

hey and can you create a Peronal Access token with the permission for repo checked? and name it as PAT, if not done already

codewarnab commented 3 months ago

hey and can you create a Peronal Access token with the permission for repo checked? and name it as PAT, if not done already

will do it thanks for your pr