Skip to content

Commit d39cb9d

Browse files
committed
Reduce redundant checkouts
Signed-off-by: Deric Cheung <[email protected]>
1 parent 97184df commit d39cb9d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/runAqa.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,15 @@ jobs:
1717
echo ::set-output name=url::$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID
1818
echo ::set-output name=id::$GITHUB_RUN_ID
1919
id: workflow_run_info
20-
# Checkout current repo to access the repo-specific config file `.github/workflows/runAqaConfig.json`
20+
# Checkout current (TKG) repo to access the repo-specific config file `.github/workflows/runAqaConfig.json` and the shared script `scripts/testRepo/runAqaArgParse.py`
2121
- name: Checkout current repo
2222
uses: actions/checkout@v2
2323
with:
2424
path: 'main'
25-
# Checkout the main TKG repo to access the shared script `scripts/testRepo/runAqaArgParse.py`
26-
- name: Checkout main TKG repo
27-
uses: actions/checkout@v2
28-
with:
29-
repository: 'adoptium/TKG.git'
30-
ref: 'master'
31-
path: 'TKG'
3225
- name: Parse parameters
3326
env:
3427
args: ${{ github.event.comment.body }}
35-
run: python3 TKG/scripts/testBot/runAqaArgParse.py $args 2> log.txt
28+
run: python3 main/scripts/testBot/runAqaArgParse.py $args 2> log.txt
3629
id: argparse
3730
- name: Output log
3831
if: failure()

0 commit comments

Comments
 (0)