Skip to content

Commit bab8450

Browse files
dependabot[bot]neilime
authored andcommitted
chore(deps): bump the github-actions-dependencies group across 1 directory with 3 updates
Bumps the github-actions-dependencies group with 3 updates in the / directory: - [hoverkraft-tech/ci-github-nodejs](https://github.com/hoverkraft-tech/ci-github-nodejs) - [github/codeql-action](https://github.com/github/codeql-action). Updates `hoverkraft-tech/ci-github-nodejs` from 0.14.1 to 0.15.0 - [Release notes](https://github.com/hoverkraft-tech/ci-github-nodejs/releases) - [Commits](hoverkraft-tech/ci-github-nodejs@1d00c9e...4b87508) Updates `github/codeql-action` from 4.30.7 to 4.30.8 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@e296a93...f443b60) --- updated-dependencies: - dependency-name: hoverkraft-tech/ci-github-nodejs dependency-version: 0.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions-dependencies - dependency-name: github/codeql-action dependency-version: 4.30.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 94dde6b commit bab8450

6 files changed

Lines changed: 44 additions & 17 deletions

.github/workflows/__test-action-matrix-outputs.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
steps:
1919
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
with:
21+
persist-credentials: false
2022

2123
- id: set-matrix-output
2224
uses: ./actions/set-matrix-output
@@ -30,10 +32,12 @@ jobs:
3032
run: |
3133
EXPECTED_ARTIFACT_NAME="$GITHUB_RUN_ID-$GITHUB_RUN_NUMBER-test-matrix-outputs-${{ matrix.os }}"
3234
33-
if [ "${{ steps.set-matrix-output.outputs.artifact-name }}" != "$EXPECTED_ARTIFACT_NAME" ]; then
35+
if [ "${STEPS_SET_MATRIX_OUTPUT_OUTPUTS_ARTIFACT_NAME}" != "$EXPECTED_ARTIFACT_NAME" ]; then
3436
echo "Set matrix output 1 result is not valid"
3537
exit 1
3638
fi
39+
env:
40+
STEPS_SET_MATRIX_OUTPUT_OUTPUTS_ARTIFACT_NAME: ${{ steps.set-matrix-output.outputs.artifact-name }}
3741

3842
tests-2:
3943
name: Arrange - Set empty output
@@ -45,6 +49,8 @@ jobs:
4549
runs-on: ${{ matrix.os }}
4650
steps:
4751
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
52+
with:
53+
persist-credentials: false
4854

4955
- uses: ./actions/set-matrix-output
5056
with:
@@ -61,6 +67,8 @@ jobs:
6167
runs-on: ${{ matrix.os }}
6268
steps:
6369
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
70+
with:
71+
persist-credentials: false
6472

6573
- uses: ./actions/set-matrix-output
6674
with:
@@ -79,6 +87,8 @@ jobs:
7987
runs-on: ${{ matrix.os }}
8088
steps:
8189
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
90+
with:
91+
persist-credentials: false
8292

8393
- id: get-matrix-outputs
8494
uses: ./actions/get-matrix-outputs
@@ -88,8 +98,6 @@ jobs:
8898
- name: Check matrix outputs
8999
shell: bash
90100
run: |
91-
OUTPUT_RESULT='${{ steps.get-matrix-outputs.outputs.result }}'
92-
93101
# Output result must be a json array of 2 entries
94102
if [ "$(echo "$OUTPUT_RESULT" | jq -e '. | length')" != "2" ]; then
95103
echo "Get matrix outputs result is not valid"
@@ -101,6 +109,8 @@ jobs:
101109
echo "Get matrix outputs result is not valid"
102110
exit 1
103111
fi
112+
env:
113+
OUTPUT_RESULT: ${{ steps.get-matrix-outputs.outputs.result }}
104114

105115
- name: Check artifacts have been deleted
106116
shell: bash

.github/workflows/__test-action-repository-owner-is-organization.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
with:
16+
persist-credentials: false
1517

1618
- id: repository-owner-is-organization
1719
uses: ./actions/repository-owner-is-organization
1820

1921
- name: Check repository-owner-is-organization outputs
2022
run: |
21-
if [ "${{ steps.repository-owner-is-organization.outputs.is-organization }}" != 'true' ]; then
23+
if [ "${STEPS_REPOSITORY_OWNER_IS_ORGANIZATION_OUTPUTS_IS_ORGANIZATION}" != 'true' ]; then
2224
echo "repository-owner-is-organization outputs result is not valid"
2325
exit 1
2426
fi
27+
env:
28+
STEPS_REPOSITORY_OWNER_IS_ORGANIZATION_OUTPUTS_IS_ORGANIZATION: ${{ steps.repository-owner-is-organization.outputs.is-organization }}

.github/workflows/__test-action-slugify.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
with:
16+
persist-credentials: false
1517

1618
- id: slugify
1719
uses: ./actions/slugify
@@ -20,7 +22,9 @@ jobs:
2022

2123
- name: Check slugify outputs
2224
run: |
23-
if [ "${{ steps.slugify.outputs.result }}" != 'test-content' ]; then
25+
if [ "${STEPS_SLUGIFY_OUTPUTS_RESULT}" != 'test-content' ]; then
2426
echo "Slugify outputs result is not valid"
2527
exit 1
2628
fi
29+
env:
30+
STEPS_SLUGIFY_OUTPUTS_RESULT: ${{ steps.slugify.outputs.result }}

.github/workflows/linter.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,24 +67,23 @@ jobs:
6767
if: inputs.lint-all && github.ref_name != github.event.repository.default_branch
6868
with:
6969
ref: "${{ github.event.repository.default_branch }}"
70+
persist-credentials: false
7071

7172
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7273
with:
7374
fetch-depth: "${{ inputs.lint-all && 1 || 0 }}"
75+
persist-credentials: false
7476

7577
- if: ${{ inputs.linter-env }}
78+
env:
79+
LINTER_ENV: ${{ inputs.linter-env }}
7680
run: |
77-
LINTER_ENV=$(cat <<EOF
78-
${{ inputs.linter-env }}
79-
EOF
80-
)
81-
8281
echo "$LINTER_ENV" | while IFS= read -r line; do
8382
if [ -z "$line" ]; then continue; fi
8483
echo "$line" >> "$GITHUB_ENV"
8584
done
8685
87-
# FIXME: superlinter should auto iunstall required dependencies. See https://github.com/super-linter/super-linter/issues/6089.
86+
# FIXME: superlinter should auto install required dependencies. See https://github.com/super-linter/super-linter/issues/6089.
8887
- id: has-prettier-plugins
8988
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
9089
with:
@@ -99,7 +98,7 @@ jobs:
9998
return;
10099
}
101100
}
102-
- uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@1d00c9eb280acbee5df4b4a2087f786e66b13d87 # 0.14.1
101+
- uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@4b87508052fc8b08a44a5d2d7d5f0636deb6ea3e # 0.15.0
103102
if: ${{ steps.has-prettier-plugins.outputs.package-json-dir }}
104103
with:
105104
working-directory: ${{ steps.has-prettier-plugins.outputs.package-json-dir }}
@@ -126,12 +125,14 @@ jobs:
126125
language: ${{ fromJSON(inputs.codeql-languages) }}
127126
steps:
128127
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
128+
with:
129+
persist-credentials: false
129130

130-
- uses: github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
131+
- uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
131132
with:
132133
languages: ${{ matrix.language }}
133134

134-
- uses: github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
135+
- uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
135136
with:
136137
category: "/language:${{matrix.language}}"
137138

@@ -143,6 +144,7 @@ jobs:
143144
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
144145
with:
145146
fetch-depth: "${{ inputs.lint-all && 1 || 0 }}"
147+
persist-credentials: false
146148

147149
- id: changed-files
148150
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
@@ -153,18 +155,21 @@ jobs:
153155

154156
- id: get-files-to-lint
155157
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
158+
env:
159+
CHANGED_FILES: ${{ toJSON(steps.changed-files.outputs.all_changed_and_modified_files) }};
160+
ACTION_FILES_INPUT: ${{ toJSON(inputs.action-files) }}
156161
with:
157162
script: |
158163
const fs = require("node:fs");
159164
const path = require("node:path");
160165
161-
const changedFiles = ${{ toJSON(steps.changed-files.outputs.all_changed_and_modified_files) }};
166+
const changedFiles = process.env.CHANGED_FILES;
162167
163168
let actionFiles = [];
164169
if (changedFiles !== null) {
165170
actionFiles = changedFiles.split(" ").filter(file => file && fs.existsSync(file));
166171
} else {
167-
const actionFilesInput = ${{ toJson(inputs.action-files) }};
172+
const actionFilesInput = process.env.ACTION_FILES_INPUT;
168173
169174
for (const actionFile of actionFilesInput.split("\n")) {
170175
let sanitizedActionFile = actionFile.trim();

.github/workflows/need-fix-to-issue.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
runs-on: ${{ inputs.runs-on && fromJson(inputs.runs-on) || 'ubuntu-latest' }}
4444
steps:
4545
- uses: "actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8" # v5.0.0
46+
with:
47+
persist-credentials: false
4648

4749
- name: "TODO to Issue"
4850
uses: "alstr/todo-to-issue-action@c45b007d85c8edf3365b139a9d4c65793e7c674f" # v5.1.13

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ lint-fix: ## Execute linting and fix
1313
-e FIX_YAML_PRETTIER=true \
1414
-e FIX_MARKDOWN=true \
1515
-e FIX_MARKDOWN_PRETTIER=true \
16-
-e FIX_NATURAL_LANGUAGE=true)
16+
-e FIX_NATURAL_LANGUAGE=true \
17+
-e FIX_SHELL_SHFMT=true \
18+
)
1719

1820
define run_linter
1921
DEFAULT_WORKSPACE="$(CURDIR)"; \

0 commit comments

Comments
 (0)