File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 steps :
1818 - name : Checkout repo
1919 uses : actions/checkout@v7
20+ with :
21+ # don't persist the default GITHUB_TOKEN auth, the commit step
22+ # pushes with CHAINDATA_CI_SUPERUSER_ACCESS_TOKEN instead
23+ persist-credentials : false
2024 - name : Setup pnpm
2125 uses : pnpm/action-setup@v6
2226 - name : Setup Node.js environment
3236 env :
3337 CHAINDATA_CI_SUPERUSER_ACCESS_TOKEN : ${{ secrets.CHAINDATA_CI_SUPERUSER_ACCESS_TOKEN }}
3438 run : |
35- git config --local --unset-all 'http.https://github.com/.extraheader'
3639 git remote set-url origin https://x-access-token:${CHAINDATA_CI_SUPERUSER_ACCESS_TOKEN}@github.com/TalismanSociety/chaindata
3740 git config user.name "chaindata-ci-superuser[bot]"
3841 git config user.email "146698419+chaindata-ci-superuser[bot]@users.noreply.github.com"
Original file line number Diff line number Diff line change 2828 steps :
2929 - name : Checkout repo
3030 uses : actions/checkout@v7
31+ with :
32+ # don't persist the default GITHUB_TOKEN auth, the commit step
33+ # pushes with CHAINDATA_CI_SUPERUSER_ACCESS_TOKEN instead
34+ persist-credentials : false
3135 - name : Setup pnpm
3236 uses : pnpm/action-setup@v6
3337 - name : Setup Node.js environment
4751 env :
4852 CHAINDATA_CI_SUPERUSER_ACCESS_TOKEN : ${{ secrets.CHAINDATA_CI_SUPERUSER_ACCESS_TOKEN }}
4953 run : |
50- git config --local --unset-all 'http.https://github.com/.extraheader'
5154 git remote set-url origin https://x-access-token:${CHAINDATA_CI_SUPERUSER_ACCESS_TOKEN}@github.com/TalismanSociety/chaindata
5255 git config user.name "chaindata-ci-superuser[bot]"
5356 git config user.email "146698419+chaindata-ci-superuser[bot]@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments