Merge pull request #322 from FaserF/improve-workflows

Improve Github Workflows
pull/323/head
Romain 2023-04-18 15:26:12 +02:00 committed by GitHub
commit 9697387ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,4 @@
---
name: Close inactive issues name: Close inactive issues
on: on:
schedule: schedule:

View File

@ -1,3 +1,4 @@
---
name: Auto Create Pre-Release Version name: Auto Create Pre-Release Version
on: on:

View File

@ -1,3 +1,4 @@
---
name: Create New Version name: Create New Version
on: on:
@ -5,11 +6,13 @@ on:
inputs: inputs:
version: version:
type: choice type: choice
default: 'Patch'
description: Select next release type description: Select next release type
options: options:
- Patch - Patch
- Minor - Minor
- Major - Major
required: true
pre-release: pre-release:
type: boolean type: boolean
description: Set as Pre-release version description: Set as Pre-release version

View File

@ -49,8 +49,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SPELL_CSPELL_CONFIG_FILE: .github/cspell.json SPELL_CSPELL_CONFIG_FILE: .github/cspell.json
POWERSHELL_POWERSHELL_CONFIG_FILE: .github/.powershell-psscriptanalyzer.psd1 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 DISABLE_ERRORS_LINTERS: REPOSITORY_DEVSKIM,REPOSITORY_CHECKOV,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 # Upload MegaLinter artifacts
- name: Archive production artifacts - name: Archive production artifacts

View File

@ -1,13 +1,10 @@
name: WAU PS Test ---
name: WAU Powershell Test Runs
# yamllint disable-line rule:truthy # yamllint disable-line rule:truthy
on: on:
push:
pull_request: pull_request:
types: branches: [master, main]
- opened
- reopened
- synchronize
workflow_dispatch: workflow_dispatch:
permissions: permissions: