From 4f6d31641945d2f593499747d90fae3bd2842c67 Mon Sep 17 00:00:00 2001 From: Fabian Seitz Date: Tue, 18 Apr 2023 14:41:35 +0200 Subject: [PATCH] Improve Github Workflows --- .github/workflows/CloseInactiveIssues.yml | 1 + .github/workflows/WAU-AutoCreatePreVersion.yml | 1 + .github/workflows/WAU-CreateNewVersion.yml | 7 ++++--- .github/workflows/mega-linter.yml | 2 +- .github/workflows/powershell-tests.yaml | 1 + 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CloseInactiveIssues.yml b/.github/workflows/CloseInactiveIssues.yml index d86e255..daad263 100644 --- a/.github/workflows/CloseInactiveIssues.yml +++ b/.github/workflows/CloseInactiveIssues.yml @@ -1,3 +1,4 @@ +--- name: Close inactive issues on: schedule: diff --git a/.github/workflows/WAU-AutoCreatePreVersion.yml b/.github/workflows/WAU-AutoCreatePreVersion.yml index ba9b1f6..f40d956 100644 --- a/.github/workflows/WAU-AutoCreatePreVersion.yml +++ b/.github/workflows/WAU-AutoCreatePreVersion.yml @@ -1,3 +1,4 @@ +--- name: Auto Create Pre-Release Version on: diff --git a/.github/workflows/WAU-CreateNewVersion.yml b/.github/workflows/WAU-CreateNewVersion.yml index a61898d..b36522b 100644 --- a/.github/workflows/WAU-CreateNewVersion.yml +++ b/.github/workflows/WAU-CreateNewVersion.yml @@ -1,3 +1,4 @@ +--- name: Create New Version on: @@ -7,9 +8,9 @@ on: type: choice description: Select next release type options: - - Patch - - Minor - - Major + - Patch + - Minor + - Major pre-release: type: boolean description: Set as Pre-release version diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 3750b34..3711c55 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -50,7 +50,7 @@ jobs: SPELL_CSPELL_CONFIG_FILE: .github/cspell.json POWERSHELL_POWERSHELL_CONFIG_FILE: .github/.powershell-psscriptanalyzer.psd1 DISABLE_ERRORS_LINTERS: REPOSITORY_DEVSKIM,REPOSITORY_GIT_DIFF,SPELL_CSPELL,SPELL_PROSELINT,COPYPASTE_JSCPD,MARKDOWN_MARKDOWN_LINK_CHECK - FILTER_REGEX_EXCLUDE: (.github/workflows/) + FILTER_REGEX_EXCLUDE: (workflows/) # Upload MegaLinter artifacts - name: Archive production artifacts diff --git a/.github/workflows/powershell-tests.yaml b/.github/workflows/powershell-tests.yaml index 8c6bef0..4933f7f 100644 --- a/.github/workflows/powershell-tests.yaml +++ b/.github/workflows/powershell-tests.yaml @@ -1,3 +1,4 @@ +--- name: WAU PS Test # yamllint disable-line rule:truthy