Skip to content

Commit f20ea58

Browse files
chore: more zizmor fixes
1 parent dcea19b commit f20ea58

5 files changed

Lines changed: 15 additions & 8 deletions

File tree

‎.github/workflows/codegen-ci.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,12 @@ jobs:
7070
# TODO: can we cache some layers of the image for faster download?
7171
# we probably don't want to cache the final image for IP security...
7272
run: |
73-
docker pull --quiet us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${{ fromJson(vars.PRIMARY_LOOKER_VERSION)[0] }}
73+
docker pull --quiet us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${PRIMARY_LOOKER_VERSION}
7474
# set $LOOKER_OPTS to --no-ssl if we want to turn off ssl
75-
docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${{ fromJson(vars.PRIMARY_LOOKER_VERSION)[0] }}
75+
docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${PRIMARY_LOOKER_VERSION}
7676
docker logs -f looker-sdk-codegen-ci --until=30s &
77+
env:
78+
PRIMARY_LOOKER_VERSION: ${{ fromJson(vars.PRIMARY_LOOKER_VERSION)[0] }}
7779

7880
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
7981
with:

‎.github/workflows/lerna-publish.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ jobs:
4646

4747
- name: Pull and run Looker docker image
4848
run: |
49-
docker pull --quiet us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${{ fromJson(vars.PRIMARY_LOOKER_VERSION)[0] }}
50-
docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${{ fromJson(vars.PRIMARY_LOOKER_VERSION)[0] }}
49+
docker pull --quiet us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${PRIMARY_LOOKER_VERSION}
50+
docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${PRIMARY_LOOKER_VERSION}
5151
docker logs -f looker-sdk-codegen-ci --until=30s &
52+
env:
53+
PRIMARY_LOOKER_VERSION: ${{ fromJson(vars.PRIMARY_LOOKER_VERSION)[0] }}
5254

5355
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
5456
with:

‎.github/workflows/python-publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
pip install wheel
3838
python setup.py sdist bdist_wheel
3939
40-
- uses: pypa/gh-action-pypi-publish@54b39fb9371c0b3a6f9f14bb8a67394defc7a806 # v1.4.1
40+
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
4141
with:
4242
user: __token__
4343
password: ${{ secrets.PYPI_API_TOKEN }}

‎.github/workflows/required-checks-hack-ci.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
9393
- name: Debug info
9494
run: |
95-
echo "${{ toJSON(steps.filter.outputs) }}"
95+
echo "${STEPS_FILTER_OUTPUTS}"
9696
echo "apix: ${STEPS_FILTER_OUTPUTS_APIX}"
9797
echo "codegen: ${STEPS_FILTER_OUTPUTS_CODEGEN}"
9898
echo "hackathon: ${STEPS_FILTER_OUTPUTS_HACKATHON}"
@@ -101,6 +101,7 @@ jobs:
101101
echo "tssdk: ${STEPS_FILTER_OUTPUTS_TSSDK}"
102102
echo "gosdk: ${STEPS_FILTER_OUTPUTS_GOSDK}"
103103
env:
104+
STEPS_FILTER_OUTPUTS: ${{ toJSON(steps.filter.outputs) }}
104105
STEPS_FILTER_OUTPUTS_APIX: ${{ steps.filter.outputs.apix }}
105106
STEPS_FILTER_OUTPUTS_CODEGEN: ${{ steps.filter.outputs.codegen }}
106107
STEPS_FILTER_OUTPUTS_HACKATHON: ${{ steps.filter.outputs.hackathon }}

‎.github/workflows/tssdk-ci.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,12 @@ jobs:
156156
# TODO: can we cache some layers of the image for faster download?
157157
# we probably don't want to cache the final image for IP security...
158158
run: |
159-
docker pull --quiet us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${{ matrix.looker }}
159+
docker pull --quiet us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${MATRIX_LOOKER}
160160
# set $LOOKER_OPTS to --no-ssl if we want to turn off ssl
161-
docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${{ matrix.looker }}
161+
docker run --name looker-sdk-codegen-ci -d -p 10000:9999 -p 20000:19999 us-west1-docker.pkg.dev/cloud-looker-sdk-codegen-cicd/looker/${MATRIX_LOOKER}
162162
docker logs -f looker-sdk-codegen-ci --until=30s &
163+
env:
164+
MATRIX_LOOKER: ${{ matrix.looker }}
163165

164166
- name: Install Node ${{ matrix.node-version }}
165167
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

0 commit comments

Comments
 (0)