From 7a3dc8c4abc8073120eb3a555fff5741ef7a6649 Mon Sep 17 00:00:00 2001 From: Henrik Simonsen Knutsen <46495473+hknutsen@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:12:57 +0100 Subject: [PATCH 1/2] style: add spacing --- .github/workflows/azure-function.yml | 1 + .github/workflows/azure-webapp.yml | 1 + .github/workflows/commitlint.yml | 1 + .github/workflows/docker-acr.yml | 1 + .github/workflows/docker.yml | 1 + .github/workflows/dotnet.yml | 1 + .github/workflows/github-pages.yml | 1 + .github/workflows/mkdocs-gh-pages.yml | 1 + .github/workflows/mkdocs.yml | 1 + .github/workflows/python.yml | 1 + .github/workflows/semantic-release.yml | 1 + .github/workflows/super-linter.yml | 1 + 12 files changed, 12 insertions(+) diff --git a/.github/workflows/azure-function.yml b/.github/workflows/azure-function.yml index a74da1e5..f146798e 100644 --- a/.github/workflows/azure-function.yml +++ b/.github/workflows/azure-function.yml @@ -8,6 +8,7 @@ on: type: string required: false default: ubuntu-22.04 + environment: description: The name of the GitHub environment that this job references. type: string diff --git a/.github/workflows/azure-webapp.yml b/.github/workflows/azure-webapp.yml index eae1cab1..f72503eb 100644 --- a/.github/workflows/azure-webapp.yml +++ b/.github/workflows/azure-webapp.yml @@ -9,6 +9,7 @@ on: type: string required: false default: ubuntu-22.04 + environment: description: The name of the GitHub environment that this job references. type: string diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 4b2e591c..c6bf5975 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -14,6 +14,7 @@ on: type: string required: false default: ubuntu-22.04 + node_version: description: The version of Node.js to install. type: string diff --git a/.github/workflows/docker-acr.yml b/.github/workflows/docker-acr.yml index 8451e71d..1f1711ac 100644 --- a/.github/workflows/docker-acr.yml +++ b/.github/workflows/docker-acr.yml @@ -9,6 +9,7 @@ on: type: string required: false default: ubuntu-22.04 + environment: description: The name of the GitHub environment that this job references. type: string diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 31b3df51..053f8293 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -9,6 +9,7 @@ on: type: string required: false default: ubuntu-22.04 + environment: description: The name of the GitHub environment that this job references. type: string diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 80f96870..4f077f46 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -9,6 +9,7 @@ on: type: string required: false default: ubuntu-22.04 + dotnet_version: description: The version of .NET to install. type: string diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index f3c56565..29effa99 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -8,6 +8,7 @@ on: type: string required: false default: ubuntu-22.04 + artifact_name: description: The name of the artifact containing the site to deploy. Must contain a tarball. type: string diff --git a/.github/workflows/mkdocs-gh-pages.yml b/.github/workflows/mkdocs-gh-pages.yml index 81838e7b..bbd4fde0 100644 --- a/.github/workflows/mkdocs-gh-pages.yml +++ b/.github/workflows/mkdocs-gh-pages.yml @@ -14,6 +14,7 @@ on: type: string required: false default: ubuntu-22.04 + python_version: description: The version of Python to install. type: string diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index e440abdd..9e4a6542 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -8,6 +8,7 @@ on: type: string required: false default: ubuntu-22.04 + python_version: description: The version of Python to install. type: string diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 175179a2..71350f42 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -8,6 +8,7 @@ on: type: string required: false default: ubuntu-22.04 + working_directory: description: The path of the directory containing the Python application. type: string diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 7eb3ac8a..96f40806 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -10,6 +10,7 @@ on: type: string required: false default: ubuntu-22.04 + branches: description: A newline-separated string of branches to release on. type: string diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index db5c000f..e43ddf27 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -9,6 +9,7 @@ on: type: string required: false default: ubuntu-22.04 + filter_regex_exclude: description: Exclude files from linting using a regex pattern. type: string From 68c92626cd32a0ac3b41ae2167a2d7b42e7692f2 Mon Sep 17 00:00:00 2001 From: Henrik Simonsen Knutsen <46495473+hknutsen@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:15:43 +0100 Subject: [PATCH 2/2] chore: remove outdated comments --- .github/workflows/azure-webapp.yml | 2 +- .github/workflows/dotnet.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/azure-webapp.yml b/.github/workflows/azure-webapp.yml index f72503eb..d3c44fb6 100644 --- a/.github/workflows/azure-webapp.yml +++ b/.github/workflows/azure-webapp.yml @@ -63,7 +63,7 @@ permissions: {} jobs: azure-webapp: name: Azure Web App - runs-on: ${{ inputs.runs_on }} # The steps for this job assume that OS is Ubuntu. + runs-on: ${{ inputs.runs_on }} if: github.actor != 'dependabot[bot]' environment: name: ${{ inputs.environment }} diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 4f077f46..ee64d9ce 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -72,8 +72,6 @@ permissions: {} jobs: dotnet: name: .NET - # The steps for this job assume that OS is Ubuntu. - # Use the "runtime" input to specify target OS and architecture instead. runs-on: ${{ inputs.runs_on }} permissions: contents: read # Required to checkout the repository