@@ -28,20 +28,29 @@ name: 🔄 Sync with upstream
2828
2929on :
3030 schedule :
31- - cron : ' 0 12 * * 1-5' # At 12:00 UTC on every day-of-week from Monday through Friday
31+ - cron : " 0 12 * * 1-5" # At 12:00 UTC on every day-of-week from Monday through Friday
3232 workflow_dispatch :
3333 inputs :
3434 upstream-version :
3535 type : string
36- description : ' Upstream release version to sync with (e.g. v1.0.0). Leave empty to sync with the latest release.'
36+ description : " Upstream release version to sync with (e.g. v1.0.0). Leave empty to sync with the latest release."
3737 required : false
38- default : ' '
38+ default : " "
3939
4040env :
4141 UPSTREAM_REPOSITORY : obytes/react-native-template-obytes
42- DIFF_EXCLUDED_ROUTES : |
42+ DIFF_EXCLUDED_ROUTES :
43+ | # Files/directories we don't want from the upstream repository
4344 ios
4445 android
46+ .cursorrules
47+ .github/workflows/eas-build-prod.yml
48+ .github/workflows/eas-build-qa.yml
49+ .github/workflows/new-app-version.yml
50+ .github/workflows/new-github-release.yml
51+ docs/public/reviews
52+ src/app/login.tsx
53+ src/components/card.tsx
4554
4655jobs :
4756 sync :
9099 echo "PR_EXISTS=false" >> $GITHUB_ENV
91100 fi
92101 env :
93- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
102+ GITHUB_TOKEN : ${{ secrets.UPDATE_FROM_UPSTREAM_PAT }}
94103 - name : Checkout update release of upstream
95104 if : ${{ env.BRANCH_EXISTS == 'false' }}
96105 run : |
@@ -124,4 +133,4 @@ jobs:
124133 run : |
125134 gh pr create --title "chore: update upstream to ${{ env.UPSTREAM_UPDATE_VERSION }}" --body "Integrating latest changes from [obytes/react-native-template-obytes@${{ env.UPSTREAM_UPDATE_VERSION }}](https://github.com/obytes/react-native-template-obytes/releases/tag/${{ env.UPSTREAM_UPDATE_VERSION }})" --head ${{ env.BRANCH_NAME }}
126135 env :
127- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
136+ GITHUB_TOKEN : ${{ secrets.UPDATE_FROM_UPSTREAM_PAT }}
0 commit comments