Apply consistent YAML formatting

This commit is contained in:
Michael B. Gale
2026-10-30 12:03:46 +00:00
parent fef52000cc
commit 2c6d525faa
98 changed files with 865 additions and 872 deletions

View File

@@ -1,7 +1,7 @@
name: Check Code-Scanning Config
description: |
Checks the code scanning configuration file generated by the
action to ensure it contains the expected contents
Checks the code scanning configuration file generated by the
action to ensure it contains the expected contents
inputs:
languages:
required: false
@@ -52,7 +52,7 @@ runs:
tools: ${{ inputs.tools }}
db-location: ${{ runner.temp }}/codescanning-config-cli-test
env:
CODEQL_ACTION_TEST_MODE: 'true'
CODEQL_ACTION_TEST_MODE: "true"
- name: Install dependencies
shell: bash
@@ -62,7 +62,7 @@ runs:
working-directory: ${{ github.action_path }}
shell: bash
env:
EXPECTED_CONFIG_FILE_CONTENTS: '${{ inputs.expected-config-file-contents }}'
EXPECTED_CONFIG_FILE_CONTENTS: "${{ inputs.expected-config-file-contents }}"
run: ts-node ./index.ts "$RUNNER_TEMP/user-config.yaml" "$EXPECTED_CONFIG_FILE_CONTENTS"
- name: Clean up
shell: bash

View File

@@ -54,7 +54,7 @@ runs:
- name: Check SARIF
uses: ./../action/.github/actions/check-sarif
with:
sarif-file: ${{ inputs.sarif-file }}
sarif-file: ${{ inputs.sarif-file }}
queries-run: ${{ inputs.queries-run}}
queries-not-run: ${{ inputs.queries-not-run}}
- name: Cleanup after test

View File

@@ -1,11 +1,11 @@
name: 'Release branches'
description: 'Determine branches for release & backport'
name: "Release branches"
description: "Determine branches for release & backport"
inputs:
major_version:
description: 'The version as extracted from the package.json file'
description: "The version as extracted from the package.json file"
required: true
latest_tag:
description: 'The most recent tag published to the repository'
description: "The most recent tag published to the repository"
required: true
outputs:
backport_source_branch:

View File

@@ -1,17 +1,16 @@
name: 'Prepare release job'
description: 'Prepare for updating a release branch'
name: "Prepare release job"
description: "Prepare for updating a release branch"
runs:
using: "composite"
steps:
- name: Dump environment
run: env
shell: bash
- name: Dump GitHub context
env:
GITHUB_CONTEXT: '${{ toJson(github) }}'
GITHUB_CONTEXT: "${{ toJson(github) }}"
run: echo "$GITHUB_CONTEXT"
shell: bash
@@ -19,7 +18,7 @@ runs:
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: 'npm'
cache: "npm"
- name: Install JavaScript dependencies
shell: bash