Skip to content

Commit

Permalink
Security fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anandhu-eng authored Nov 29, 2024
1 parent bc24534 commit 7428d09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test-cm-based-submission-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
- '.github/workflows/test-cm-based-submission-generation.yml'
- '**'
- '!**.md'

env:
PR_HEAD_REPO_URL: ${{ github.event.pull_request.head.repo.html_url }}
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}

jobs:
submission_generation:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -51,7 +56,7 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install "cmind @ git+https://[email protected]/mlcommons/ck.git@mlperf-inference#subdirectory=cm"
cm pull repo --url=${{ github.event.pull_request.head.repo.html_url }} --checkout=${{ github.event.pull_request.head.ref }}
cm pull repo --url=$PR_HEAD_REPO_URL --checkout=$PR_HEAD_REF
- name: Pull repo where test cases are uploaded
run: |
git clone -b submission-generation-tests https://github.com/mlcommons/inference.git submission_generation_tests
Expand Down

0 comments on commit 7428d09

Please sign in to comment.