Skip to content

Commit 800d8bb

Browse files
committed
chore(ci): test toekn push
1 parent a668ea9 commit 800d8bb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ jobs:
105105
- name: Set git remote to use App token
106106
run: git remote set-url origin https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/supabase/supabase-js.git
107107

108+
- name: Test App token git push
109+
env:
110+
RELEASE_GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
111+
run: |
112+
git checkout --orphan test-token-push
113+
git commit --allow-empty -m "chore(repo): test push"
114+
git remote set-url origin https://x-access-token:${RELEASE_GITHUB_TOKEN}@github.com/supabase/supabase-js.git
115+
git config --global --unset credential.helper || true
116+
git push origin test-token-push
117+
108118
- name: Release
109119
env:
110120
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)