Skip to content

Commit 412ccc5

Browse files
authored
Refactor checkout step in private.yaml workflow (#49)
Updated checkout step in GitHub Actions workflow to use github_api_url and app_id. Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
1 parent ae8ad3f commit 412ccc5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/private.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
repository: "DeBankDeFi/rabby-mainfest"
4444
- name: Checkout code
4545
uses: actions/checkout@v2
46-
with:
47-
repository: "DeBankDeFi/rabby-mainfest"
48-
token: ${{ steps.generate-token.outputs.token }}
49-
fetch-depth: 0
46+
with:
47+
repository: DeBankDeFi/rabby-mainfest
48+
github_api_url: https://api.github.com
49+
app_id: ${{ secrets.APP_ID }} # or hardcoded/test value for development
5050
ref: main
5151
- name: Update Build Version
5252
run: |
@@ -70,4 +70,4 @@ jobs:
7070
token: ${{ steps.generate-token.outputs.token }}
7171
repository: "DeBankDeFi/rabby-mainfest"
7272
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
73-
merge-method: rebase
73+
merge-method: rebase

0 commit comments

Comments
 (0)