Skip to content

Commit 0b82bfd

Browse files
committed
Add zizmor ignore directives for github-env
1 parent cf97622 commit 0b82bfd

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/actions/launchable/setup/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ runs:
144144

145145
- name: Set environment variables for Launchable
146146
shell: bash
147-
run: |
147+
run: | # zizmor: ignore[github-env]
148148
: # GITHUB_PULL_REQUEST_URL are used for commenting test reports in Launchable Github App.
149149
: # https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/link.py#L42
150150
echo "GITHUB_PULL_REQUEST_URL=${INPUT_PR_HTML_URL}" >> $GITHUB_ENV
@@ -171,7 +171,7 @@ runs:
171171
working-directory: ${{ inputs.srcdir }}
172172
# Since updated PATH variable will be available in only subsequent actions, we need to add the path beforehand.
173173
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path
174-
run: echo "$(python -msite --user-base)/bin" >> $GITHUB_PATH
174+
run: echo "$(python -msite --user-base)/bin" >> $GITHUB_PATH # zizmor: ignore[github-env]
175175
if: >-
176176
${{
177177
steps.enable-launchable.outputs.enable-launchable
@@ -184,7 +184,7 @@ runs:
184184
id: setup-launchable
185185
shell: bash
186186
working-directory: ${{ inputs.srcdir }}
187-
run: |
187+
run: | # zizmor: ignore[github-env]
188188
set -x
189189
pip install --user launchable
190190
: # The build name cannot include a slash, so we replace the string here.

.github/actions/setup/directories/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,16 @@ runs:
116116
# This is for MinGW.
117117
- if: runner.os == 'Windows'
118118
shell: bash
119-
run: echo "GNUMAKEFLAGS=-j$((2 * NUMBER_OF_PROCESSORS))" >> $GITHUB_ENV
119+
run: echo "GNUMAKEFLAGS=-j$((2 * NUMBER_OF_PROCESSORS))" >> $GITHUB_ENV # zizmor: ignore[github-env]
120120

121121
- if: runner.os == 'Linux'
122122
shell: bash
123-
run: echo "GNUMAKEFLAGS=-sj$((1 + $(nproc)))" >> "$GITHUB_ENV"
123+
run: echo "GNUMAKEFLAGS=-sj$((1 + $(nproc)))" >> "$GITHUB_ENV" # zizmor: ignore[github-env]
124124

125125
# macOS' GNU make is so old that they doesn't understand `GNUMAKEFLAGS`.
126126
- if: runner.os == 'macOS'
127127
shell: bash
128-
run: echo "MAKEFLAGS=-j$((1 + $(sysctl -n hw.activecpu)))" >> "$GITHUB_ENV"
128+
run: echo "MAKEFLAGS=-j$((1 + $(sysctl -n hw.activecpu)))" >> "$GITHUB_ENV" # zizmor: ignore[github-env]
129129

130130
- if: inputs.makeup
131131
shell: bash

.github/actions/setup/macos/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runs:
1717
1818
- name: Set ENV
1919
shell: bash
20-
run: |
20+
run: | # zizmor: ignore[github-env]
2121
dir_config() {
2222
local args=() lib var="$1"; shift
2323
for lib in "$@"; do

.github/actions/setup/ubuntu/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
steps:
2727
- name: set SETARCH
2828
shell: bash
29-
run: echo "SETARCH=${setarch}" >> "$GITHUB_ENV"
29+
run: echo "SETARCH=${setarch}" >> "$GITHUB_ENV" # zizmor: ignore[github-env]
3030
env:
3131
setarch: ${{ inputs.arch && format('setarch {0} --', inputs.arch) }}
3232

0 commit comments

Comments
 (0)