Skip to content
Merged
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
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2
updates:
# For GitHub Actions updates
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
time: "06:00"
day: "monday"
timezone: "America/Detroit"
commit-message:
prefix: "fix: "
open-pull-requests-limit: 5
labels:
- "dependencies"
groups:
all:
patterns:
- "*"
cooldown:
default-days: 7
12 changes: 6 additions & 6 deletions build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ runs:
fi

- name: Clone latest repository
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This syntax is exactly what I expect. More importantly it's what dependabot expects and can automatically update (as long as the version and hash match, otherwise it ignores the comment and updates the hash).

with:
ref: ${{ steps.set_inputs.outputs.ref }}
submodules: ${{ inputs.submodules }}
Expand All @@ -87,7 +87,7 @@ runs:
tag: ${{ steps.set_inputs.outputs.ref }}

- name: Log into container registry
uses: docker/login-action@v4
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
registry: ${{ inputs.registry }}
username: ${{ inputs.registry_username }}
Expand All @@ -111,7 +111,7 @@ runs:
- name: Check whether to push latest tag
if: ${{ steps.image_check.outputs.image_exists != 'true' || inputs.rebuild }}
id: latest_push
uses: actions/github-script@v9
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
INPUT_PUSH_LATEST: ${{ steps.set_inputs.outputs.push_latest }}
INPUT_IMAGE: ${{ inputs.image }}
Expand All @@ -126,16 +126,16 @@ runs:
- name: Set up QEMU
if: ${{ steps.image_check.outputs.image_exists != 'true' || inputs.rebuild }}
# QEMU emulation for the Arm portion of our multi-platform Docker image build. Intel Machines
uses: docker/setup-qemu-action@v4
uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0

- name: Set up Docker Buildx
if: ${{ steps.image_check.outputs.image_exists != 'true' || inputs.rebuild }}
# Required for multi-platform Docker image builds in GitHub Actions that use docker/build-push-action.
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0

- name: Build image and push to GHCR
if: ${{ steps.image_check.outputs.image_exists != 'true' || inputs.rebuild }}
uses: docker/build-push-action@v7
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: .
push: true
Expand Down
6 changes: 3 additions & 3 deletions deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Set environment variables
Expand All @@ -52,13 +52,13 @@ runs:
fi
- name: Generate app token
id: generate_token
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with:
app-id: ${{ env.CONFIG_REPO_RW_APP_ID }}
private-key: ${{ inputs.CONFIG_REPO_RW_KEY }}
owner: ${{ github.repository_owner }}
- name: Send the message
uses: peter-evans/repository-dispatch@v4
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
event-type: update-image
token: ${{ steps.generate_token.outputs.token }}
Expand Down
4 changes: 2 additions & 2 deletions scan-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
using: composite
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.28.0
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
env:
TRIVY_DISABLE_VEX_NOTICE: true
with:
Expand Down Expand Up @@ -44,7 +44,7 @@ runs:

- name: Comment on PR
if: github.event_name == 'pull_request'
uses: actions/github-script@v9
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
const fs = require('fs')
Expand Down
3 changes: 2 additions & 1 deletion tag-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ runs:
using: composite
steps:
- name: Log into container registry
uses: docker/login-action@v4
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0

with:
registry: ${{ inputs.registry }}
username: ${{ inputs.registry_username }}
Expand Down
2 changes: 1 addition & 1 deletion update-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
using: composite
steps:
- name: Clone latest repository
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: dump github event
shell: bash
env:
Expand Down