Skip to content

Commit a3fd1dc

Browse files
committed
fix: status checks not runinng on sync-with-upstream PRs
1 parent c53cdb8 commit a3fd1dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/sync-with-upstream.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ name: 🔄 Sync with upstream
2828

2929
on:
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

4040
env:
4141
UPSTREAM_REPOSITORY: obytes/react-native-template-obytes
@@ -90,7 +90,7 @@ jobs:
9090
echo "PR_EXISTS=false" >> $GITHUB_ENV
9191
fi
9292
env:
93-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93+
GITHUB_TOKEN: ${{ secrets.UPDATE_FROM_UPSTREAM_PAT }}
9494
- name: Checkout update release of upstream
9595
if: ${{ env.BRANCH_EXISTS == 'false' }}
9696
run: |
@@ -124,4 +124,4 @@ jobs:
124124
run: |
125125
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 }}
126126
env:
127-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127+
GITHUB_TOKEN: ${{ secrets.UPDATE_FROM_UPSTREAM_PAT }}

0 commit comments

Comments
 (0)