Skip to content

Commit 073ec59

Browse files
committed
use 2 differnet tokens with appropriate permissions and clean up debugging stuff
1 parent ccdab9e commit 073ec59

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/update-branch-on-pr.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ jobs:
1313
if: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name && github.event.label.name == 'please test' }}
1414
with:
1515
ref: ${{ github.event.pull_request.head.sha }}
16-
persist-credentials: true
17-
token: ${{ secrets.PAT_HLSML_BUILD_SPHINX }}
18-
- name: Force token to be used
19-
run: git remote set-url origin https://x-access-token:${{ secrets.PAT_HLSML_BUILD_SPHINX }}@github.com/fastmachinelearning/hls4ml.git
20-
- name: Show git config
21-
run: |
22-
echo "---- .git/config ----"
23-
cat .git/config
24-
echo "---------------------"
16+
token: ${{ secrets.PAT_HLS4ML_WORKFLOW }}
2517
- name: Push changes
2618
if: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name && github.event.label.name == 'please test' }}
2719
run: |

0 commit comments

Comments
 (0)