Skip to content

Commit 461f9fa

Browse files
authored
Merge branch 'main' into breezewiki
2 parents 07bbb4b + e0f3041 commit 461f9fa

File tree

8 files changed

+33
-163
lines changed

8 files changed

+33
-163
lines changed

.github/workflows/container-build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
changed: ${{ steps.changed_images.outputs.changed }}
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
with:
3030
submodules: "recursive"
3131

3232
- name: Get Changed Files
3333
id: changed_files
3434
# pinning out of paranoia, this is the modern-node fork of jitterbit/get-changed-files
35-
uses: masesgroup/retrieve-changed-files@491e80760c0e28d36ca6240a27b1ccb8e1402c13
35+
uses: masesgroup/retrieve-changed-files@491e80760c0e28d36ca6240a27b1ccb8e1402c13 # v3.0.0
3636

3737
- name: Find image directories
3838
id: images
@@ -89,17 +89,17 @@ jobs:
8989
arch: ["aarch64", "amd64"]
9090

9191
steps:
92-
- uses: actions/checkout@v4
93-
# - uses: docker/setup-qemu-action@v2
94-
- uses: docker/setup-buildx-action@v3
92+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
93+
# - uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
94+
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
9595
- name: Log in to the Github Container registry
96-
uses: docker/login-action@v3
96+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
9797
with:
9898
registry: ghcr.io
9999
username: ${{ github.actor }}
100100
password: ${{ secrets.GITHUB_TOKEN }}
101101

102-
- uses: docker/metadata-action@v5
102+
- uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
103103
id: meta
104104
with:
105105
images: ghcr.io/offbyone/${{ matrix.image }}
@@ -113,7 +113,7 @@ jobs:
113113
114114
- name: Build and push by digest
115115
id: build
116-
uses: docker/build-push-action@v5
116+
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
117117
with:
118118
context: ./${{ matrix.image }}
119119
platforms: linux/${{ matrix.arch }}
@@ -127,9 +127,9 @@ jobs:
127127
touch "/tmp/digests-${{ matrix.image }}/${digest#sha256:}"
128128
129129
- name: Upload digest
130-
uses: actions/upload-artifact@v3
130+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
131131
with:
132-
name: digests-${{ matrix.image }}
132+
name: digests-${{ matrix.image }}-${{ matrix.arch }}
133133
path: /tmp/digests-${{ matrix.image }}/*
134134
if-no-files-found: error
135135
retention-days: 1
@@ -147,19 +147,19 @@ jobs:
147147

148148
steps:
149149
- name: Download digests
150-
uses: actions/download-artifact@v3
150+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
151151
with:
152-
name: digests-${{ matrix.image }}
152+
pattern: digests-${{ matrix.image }}-*
153153
path: /tmp/digests-${{ matrix.image }}
154154
- name: Set up Docker Buildx
155-
uses: docker/setup-buildx-action@v3
155+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
156156
- name: Docker meta
157157
id: meta
158-
uses: docker/metadata-action@v5
158+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
159159
with:
160160
images: ghcr.io/offbyone/${{ matrix.image }}
161161
- name: Log in to the Github Container registry
162-
uses: docker/login-action@v3
162+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
163163
with:
164164
registry: ghcr.io
165165
username: ${{ github.actor }}

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "postmarks/postmarks"]
2-
path = postmarks/postmarks
3-
url = https://github.com/offbyone/postmarks.git

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files

justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,11 @@ svc-up name:
5252

5353
svc-down name:
5454
cd {{ name }} && docker compose down
55+
56+
update: update-precommit update-gha
57+
58+
@update-precommit:
59+
uvx --with pre-commit-uv pre-commit autoupdate -j3
60+
61+
@update-gha:
62+
uvx --from git+https://github.com/offbyone/gha-update@gha-without-pyproject gha-update

postmarks/Dockerfile

Lines changed: 0 additions & 16 deletions
This file was deleted.

postmarks/account.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

postmarks/postmarks

Lines changed: 0 additions & 1 deletion
This file was deleted.

postmarks/util.js

Lines changed: 0 additions & 122 deletions
This file was deleted.

0 commit comments

Comments
 (0)