-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[debug] Debug the workflow auth issues
- Loading branch information
1 parent
d9b297c
commit 420305c
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
name: Sync from aptos-core | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
|
||
# env: | ||
# GH_TOKEN: ${{ github.token }} | ||
# GH_TOKEN: ${{ github.token }} | ||
|
||
jobs: | ||
sync: | ||
|
@@ -27,7 +28,7 @@ jobs: | |
/usr/bin/git config --global --add url."https://${{ secrets.APTOS_BOT_CLONE_GH_PAT }}:x-oauth-basic@github".insteadOf ssh://git@github | ||
/usr/bin/git config --global --add url."https://${{ secrets.APTOS_BOT_CLONE_GH_PAT }}:x-oauth-basic@github".insteadOf https://github | ||
/usr/bin/git config --global --add url."https://${{ secrets.APTOS_BOT_CLONE_GH_PAT }}:x-oauth-basic@github".insteadOf git@github | ||
- uses: bazel-contrib/[email protected] | ||
with: | ||
# Avoid downloading Bazel every time. | ||
|
@@ -62,11 +63,11 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
path: aptos-framework | ||
|
||
token: ${{ secrets.APTOS_BOT_CLONE_GH_PAT }} | ||
|
||
- name: Sync all branches | ||
working-directory: aptos-framework | ||
run: | | ||
set -x | ||
PATH=$PATH:/usr/local/bin/ | ||
./sync.sh | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters