Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/compare-ds-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
- name: Install deps python
run: pip install gitpython xmldiff
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.1
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Checkout (CTF)
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.1
with:
repository: ComplianceAsCode/content-test-filtering
path: ctf
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
tar -czvf artifacts.tar.gz artifacts
- name: Upload artifacts
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: pr-artifacts-${{ github.event.pull_request.head.sha }}
retention-days: 1
Expand All @@ -74,7 +74,7 @@ jobs:
echo "${{ github.base_ref }}" > pr-info/base-branch.txt
echo "${{ steps.fork_point.outputs.FORK_POINT }}" > pr-info/fork-point.txt
- name: Upload PR info
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: pr-info
retention-days: 1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/compare-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ jobs:
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
name: pr-artifacts-${{ github.event.workflow_run.head_sha }}
path: pr_artifacts
run-id: ${{ github.event.workflow_run.id }}
- name: Unpack built artifacts
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
run: tar -xvzf pr_artifacts/artifacts.tar.gz -C pr_artifacts/unpacked_artifacts
Expand Down
Loading