Skip to content

Commit

Permalink
chore(deps): pin dependencies (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: dedsxc-github-app[bot] <149522897+dedsxc-github-app[bot]@users.noreply.github.com>
  • Loading branch information
dedsxc and dedsxc-github-app[bot] authored Jun 12, 2024
1 parent 5129a9f commit 0a92e74
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
is_dockerfile_exist: ${{ steps.dockerfile.outputs.files_exists }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4

- name: Check if Dockerfile exist
id: dockerfile
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
with:
files: "Dockerfile"

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
if: ${{ needs.dev-tag.outputs.new_tag }}
steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
uses: actions/checkout@v3

- name: Get repository name
id: get_repo_name
Expand All @@ -62,10 +62,10 @@ jobs:
echo "repo_name=$result" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3
uses: docker/setup-buildx-action@v2

- name: Configure Docker
uses: docker/login-action@v1
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1
with:
registry: ${{ env.GHCR_REGISTRY }}
username: ${{ secrets.CI_BOT_USERNAME }}
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
private-key: "${{ secrets.BOT_APP_PRIV_KEY }}"

- name: Push trivy comment on PR
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3
with:
issue-number: ${{ github.event.pull_request.number }}
body-path: 'trivy.md'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
is_dockerfile_exist: ${{ steps.dockerfile.outputs.files_exists }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4

- name: Check if Dockerfile exist
id: dockerfile
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
with:
files: "Dockerfile"

Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
if: ${{ needs.stable-tag.outputs.new_tag }}
steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
uses: actions/checkout@v3

- name: Get repository name
id: get_repo_name
Expand All @@ -67,7 +67,7 @@ jobs:
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3

- name: Configure Docker
uses: docker/login-action@v1
uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1
with:
registry: ${{ env.GHCR_REGISTRY }}
username: ${{ secrets.CI_BOT_USERNAME }}
Expand All @@ -83,7 +83,7 @@ jobs:
if: needs.stable-tag.outputs.new_tag
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -95,7 +95,7 @@ jobs:
private-key: "${{ secrets.BOT_APP_PRIV_KEY }}"

- name: Create a GitHub release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1
with:
tag: ${{ needs.stable-tag.outputs.new_tag }}
name: ${{ needs.stable-tag.outputs.new_tag }}
Expand Down

0 comments on commit 0a92e74

Please sign in to comment.