Skip to content

Commit

Permalink
Check values of context in ci-unit-tests-docker.patch-external.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Nov 26, 2023
1 parent 140f6c1 commit 15a19ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-tests-docker.patch-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: ${{ !contains(github.head_ref || github.ref, 'refs/heads/') }}
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'
- run: echo "${{ format('No build required for ! contains({} || {}, refs/heads/', github.head_ref, github.ref) }}"

Check warning on line 22 in .github/workflows/ci-unit-tests-docker.patch-external.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/ci-unit-tests-docker.patch-external.yml#L22

format string "No build required for ! contains({} || {}, refs/heads/" does not contain placeholder {0}. remove argument which is unused in the format string [expression]
Raw output
.github/workflows/ci-unit-tests-docker.patch-external.yml:22:24: format string "No build required for ! contains({} || {}, refs/heads/" does not contain placeholder {0}. remove argument which is unused in the format string [expression]

Check warning on line 22 in .github/workflows/ci-unit-tests-docker.patch-external.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/ci-unit-tests-docker.patch-external.yml#L22

format string "No build required for ! contains({} || {}, refs/heads/" does not contain placeholder {1}. remove argument which is unused in the format string [expression]
Raw output
.github/workflows/ci-unit-tests-docker.patch-external.yml:22:24: format string "No build required for ! contains({} || {}, refs/heads/" does not contain placeholder {1}. remove argument which is unused in the format string [expression]

Check warning on line 22 in .github/workflows/ci-unit-tests-docker.patch-external.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/ci-unit-tests-docker.patch-external.yml#L22

"github.head_ref" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions for more details [expression]
Raw output
.github/workflows/ci-unit-tests-docker.patch-external.yml:22:89: "github.head_ref" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions for more details [expression]

test-all:
name: Test all
Expand Down

0 comments on commit 15a19ec

Please sign in to comment.