diff --git a/.github/workflows/deploy-cloudrun.yaml b/.github/workflows/deploy-cloudrun.yaml
index 2a9bd653..4601ed6b 100644
--- a/.github/workflows/deploy-cloudrun.yaml
+++ b/.github/workflows/deploy-cloudrun.yaml
@@ -72,21 +72,21 @@ jobs:
CONTAINER: ${{ inputs.container }}
run: |
if [ -n "$CONTAINER" ]; then
- CONTAINER_FLAG="--container $CONTAINER"
+ set -- --container "$CONTAINER"
else
- CONTAINER_FLAG=""
+ set --
fi
IMAGE="${{ inputs.registry }}/${{ inputs.artifact-repository }}:${{ inputs.artifact-tag }}"
EXTRA_FLAGS="${{ inputs.flags }}"
gcloud config set run/region "${{ inputs.region }}"
if [ -n "${{ inputs.job-name }}" ]; then
gcloud beta run jobs deploy "${{ inputs.job-name }}" \
- ${CONTAINER_FLAG} \
+ "$@" \
--image "$IMAGE" \
${EXTRA_FLAGS}
else
gcloud run deploy "${{ inputs.service-name }}" \
- ${CONTAINER_FLAG} \
+ "$@" \
--image "$IMAGE" \
${EXTRA_FLAGS}
fi
diff --git a/DESIGN.md b/DESIGN.md
index 7026f11e..d2994938 100644
--- a/DESIGN.md
+++ b/DESIGN.md
@@ -53,7 +53,7 @@ They live in
(Note: _not_ this repository). This way if you go in your repository to
“Actions” → “New workflow” you will see them under “By verkstedt”.
-
+
You can also just copy these template files directly to your repository.
diff --git a/README.md b/README.md
index 9779ba5b..cccd2676 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
- [projects using this](https://github.com/search?type=code&q=-repo:verkstedt/actions+path:.github/workflows/+uses:+verkstedt/actions)
-
+
## Technical design
diff --git a/ref-comment-in-commit/index.mjs b/ref-comment-in-commit/index.mjs
index e776bf31..1831caa1 100644
--- a/ref-comment-in-commit/index.mjs
+++ b/ref-comment-in-commit/index.mjs
@@ -1,3 +1,5 @@
+/* eslint import/no-unresolved: [2, { ignore: ['@actions/'] }] -- This script run in GitHub CI */
+
import * as core from '@actions/core'
import * as github from '@actions/github'