Skip to content

Commit

Permalink
Unpin Github Action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsihk authored Feb 12, 2024
1 parent 517a515 commit d5479e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Get changed container files
if: steps.get_commit_sha.outputs.previous_tag != steps.get_commit_sha.outputs.last_commit
id: changed-files
uses: tj-actions/changed-files@v42.0.2
uses: tj-actions/changed-files@v42
with:
base_sha: ${{ steps.get_commit_sha.outputs.previous_tag }}
files: |
Expand All @@ -140,7 +140,7 @@ jobs:
- name: Tag and create a GitHub release
if: steps.changed-files.outputs.any_changed == 'true'
uses: ncipollo/release-action@v1.14.0
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.get_changes.outputs.new_tag }}
commit: ${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
docker compose --file docker-compose.test.yml up --exit-code-from sut -t 10 --build
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.17.0
uses: aquasecurity/trivy-action@master
with:
image-ref: '${{ env.IMAGE_NAME }}:${{ env.TEST_TAG }}'
format: 'sarif'
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

- name: Get changed container files
id: changed-files
uses: tj-actions/changed-files@v42.0.2
uses: tj-actions/changed-files@v42
with:
files: |
rootfs/**
Expand Down

0 comments on commit d5479e2

Please sign in to comment.