Skip to content

Commit

Permalink
Show all env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Nov 26, 2023
1 parent 573c6cf commit 2dfeb78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cd-deploy-nodes-gcp.patch-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ jobs:
# Only run on PRs from external repositories, skipping ZF branches and tags.
if: ${{ !contains(github.head_ref || github.ref, 'refs/heads/') && !contains(github.head_ref || github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
env:
JSON_EVENT: ${{ toJSON(github.event) }}
steps:
- run: |

Check warning on line 24 in .github/workflows/cd-deploy-nodes-gcp.patch-external.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] reported by reviewdog 🐶 "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/cd-deploy-nodes-gcp.patch-external.yml:24:153: "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]
echo "${{ format('No build required for head_ref {0} ref {1} workflow_ref {2} secret_source {3} matching patterns refs/heads/ refs/tags/', github.head_ref, github.ref, github.workflow_ref, github.secret_source) }}"
echo '${{ toJSON(github.event) }}'
(set -o posix ; set)
test-configuration-file:
name: Test CD default Docker config file / Test default-conf in Docker
Expand Down

0 comments on commit 2dfeb78

Please sign in to comment.