File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1- name : Minimal App Token Push Test
1+ name : Minimal App Token Push & PR Test
22
33on :
44 workflow_dispatch :
55
66jobs :
7- push-test :
7+ push-and-pr- test :
88 runs-on : ubuntu-latest
99 steps :
1010 - name : Generate App token
@@ -28,15 +28,21 @@ jobs:
2828 git config --global --unset credential.helper || true
2929 git config --local --unset credential.helper || true
3030 git remote set-url origin https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/supabase/supabase-js.git
31- echo "Remote:"
32- git remote -v
33- echo "Credential helper:"
34- git config --show-origin --get credential.helper || true
3531
3632 - name : Create and push branch
3733 run : |
3834 git checkout -b minimal-token-test
3935 touch minimal.txt
4036 git add minimal.txt
4137 git commit -m "test: minimal token branch push"
42- git push origin minimal-token-test
38+ git push origin minimal-token-test
39+
40+ - name : Create PR with gh CLI
41+ env :
42+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
43+ run : |
44+ gh pr create \
45+ --base master \
46+ --head minimal-token-test \
47+ --title "Minimal token push test" \
48+ --body "Automated PR from minimal App token workflow"
You can’t perform that action at this time.
0 commit comments