Skip to content

Commit 5229127

Browse files
committed
ensure all yaml string values are quoted
1 parent cdacfd4 commit 5229127

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

.github/workflows/actionlint.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ on:
44
workflow_dispatch:
55

66
permissions:
7-
contents: read
8-
pull-requests: write
7+
contents: 'read'
8+
pull-requests: 'write'
99

1010
concurrency:
11-
group: actionlint-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12-
cancel-in-progress: true
11+
group: 'actionlint-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}'
12+
cancel-in-progress: 'true'
1313

1414
jobs:
1515
lint:
16-
runs-on: ubuntu-latest
16+
runs-on: 'ubuntu-latest'
1717
steps:
18-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6
18+
- uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # ratchet:actions/checkout@v6
1919
- name: 'Run actionlint with reviewdog'
20-
uses: reviewdog/action-actionlint@6fb7acc99f4a1008869fa8a0f09cfca740837d9d # ratchet:reviewdog/action-actionlint@v1.72.0
20+
uses: 'reviewdog/action-actionlint@6fb7acc99f4a1008869fa8a0f09cfca740837d9d' # ratchet:reviewdog/action-actionlint@v1.72.0
2121
with:
2222
fail_on_error: true
2323
reporter: 'github-pr-check'

.github/workflows/centralized-stale.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
jobs:
1010
# Stage 1: Query the organization for all active repositories
1111
fetch-repositories:
12-
runs-on: ubuntu-latest
12+
runs-on: 'ubuntu-latest'
1313
outputs:
14-
matrix: ${{ steps.set-matrix.outputs.repos }}
14+
matrix: '${{ steps.set-matrix.outputs.repos }}'
1515
steps:
1616
- id: 'auth-minty'
1717
name: 'Authenticate to Google Cloud'
@@ -40,7 +40,7 @@ jobs:
4040
- name: 'List active repositories'
4141
id: set-matrix
4242
env:
43-
GH_TOKEN: ${{ steps.mint-github-token.outputs.token }}
43+
GH_TOKEN: '${{ steps.mint-github-token.outputs.token }}'
4444
run: |
4545
# Query GitHub API for active, public, non-forked repositories and force single-line JSON to prevent GITHUB_OUTPUT truncation
4646
REPOS=$(gh api --paginate /orgs/google-github-actions/repos -q '[.[] | select(.archived == false and .private == false and .fork == false) | .name]' | jq -c .)
@@ -49,11 +49,11 @@ jobs:
4949
# Stage 2: Fan out official actions/stale across all discovered repositories
5050
apply-stale-rules:
5151
needs: fetch-repositories
52-
runs-on: ubuntu-latest
52+
runs-on: 'ubuntu-latest'
5353
strategy:
5454
fail-fast: false
5555
matrix:
56-
repo: ${{ fromJson(needs.fetch-repositories.outputs.matrix) }}
56+
repo: '${{ fromJson(needs.fetch-repositories.outputs.matrix) }}'
5757

5858
steps:
5959
- id: 'auth-minty'
@@ -81,11 +81,11 @@ jobs:
8181
}
8282
8383
- name: 'Run official stale bot'
84-
uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # ratchet:actions/stale@v10.2.0
84+
uses: 'actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f' # ratchet:actions/stale@v10.2.0
8585
env:
8686
GITHUB_REPOSITORY: 'google-github-actions/${{ matrix.repo }}'
8787
with:
88-
repo-token: ${{ steps.mint-github-token.outputs.token }}
88+
repo-token: '${{ steps.mint-github-token.outputs.token }}'
8989
operations-per-run: 300 # Increased burndown limit for first execution
9090

9191
# Issue configuration (60 days total: 53 inactive + 7 warning)

.github/workflows/scorecard.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ on:
33
pull_request:
44
workflow_dispatch:
55

6-
permissions: read-all
6+
permissions: 'read-all'
77

88
jobs:
99
analyze:
10-
runs-on: ubuntu-latest
10+
runs-on: 'ubuntu-latest'
1111
permissions:
12-
contents: read
13-
security-events: write
14-
id-token: write
12+
contents: 'read'
13+
security-events: 'write'
14+
id-token: 'write'
1515
timeout-minutes: 20
1616
steps:
17-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6
17+
- uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # ratchet:actions/checkout@v6
1818
with:
1919
# Checkout the base repository ref, not the PR's head commit
20-
ref: ${{ github.event.pull_request.base.sha }}
20+
ref: '${{ github.event.pull_request.base.sha }}'
2121
persist-credentials: false
2222
- name: 'Run Scorecard'
23-
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # ratchet:ossf/scorecard-action@v2.4.3
23+
uses: 'ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a' # ratchet:ossf/scorecard-action@v2.4.3
2424
with:
2525
results_file: 'results.sarif'
2626
results_format: 'sarif'
2727
publish_results: false
2828
- name: 'Upload to GitHub Security Tab'
29-
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # ratchet:github/codeql-action/upload-sarif@v4.35.1
29+
uses: 'github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13' # ratchet:github/codeql-action/upload-sarif@v4.35.1
3030
with:
3131
sarif_file: 'results.sarif'

0 commit comments

Comments
 (0)