From 4c71c49edc7fc45fbd5a568713e23f919fd01a41 Mon Sep 17 00:00:00 2001 From: dzu Date: Sat, 21 Feb 2026 09:17:16 +0000 Subject: [PATCH 1/3] add .dockerignore --- .dockerignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..4780ac4 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.forgejo/ +action.yml +main.sh From 982be23f1d2fdd0cc80ec3d86cb52bd81f17a0e2 Mon Sep 17 00:00:00 2001 From: dzu Date: Sat, 21 Feb 2026 09:18:14 +0000 Subject: [PATCH 2/3] ench(action): safer bash options --- main.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.sh b/main.sh index dd2bc18..2a212c6 100755 --- a/main.sh +++ b/main.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -eu + LOCK=$(printenv INPUT_LOCK-PATH) ARGS='' From 9009a3acda36b1ff6b2095f9d3cb6cf4ad0d1779 Mon Sep 17 00:00:00 2001 From: dzu Date: Sat, 21 Feb 2026 11:19:58 +0000 Subject: [PATCH 3/3] lock cache action revision --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 0839877..6d9d9bd 100644 --- a/action.yml +++ b/action.yml @@ -9,7 +9,7 @@ runs: using: composite steps: - name: Load the database from cache - uses: https://git.dzuchun.ing/actions/cache-load@main + uses: https://git.dzuchun.ing/actions/cache-load@v1 with: path: ${{ forgejo.action_path }}/database key: cargo-audit-database @@ -18,7 +18,7 @@ runs: env: DATABASE_PATH: ${{ forgejo.action_path }}/database - name: Save the database to cache - uses: https://git.dzuchun.ing/actions/cache-save@main + uses: https://git.dzuchun.ing/actions/cache-save@v1 with: path: ${{ forgejo.action_path }}/database key: cargo-audit-database