Skip to content

🩹 [Patch]: Use Pester v6 assertion syntax #385

🩹 [Patch]: Use Pester v6 assertion syntax

🩹 [Patch]: Use Pester v6 assertion syntax #385

name: Process-PSModule

Check failure on line 1 in .github/workflows/Process-PSModule.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/Process-PSModule.yml

Invalid workflow file

(Line: 8, Col: 2): Unexpected value 'branches', (Line: 9, Col: 2): A sequence was not expected, (Line: 11, Col: 2): 'branches' is already defined, (Line: 13, Col: 2): Unexpected value 'types', (Line: 14, Col: 2): A sequence was not expected, (Line: 28, Col: 19): Unexpected value '', (Line: 29, Col: 14): Unexpected value '', (Line: 30, Col: 12): Unexpected value 'read', (Line: 31, Col: 9): Unexpected value 'write', (Line: 32, Col: 12): Unexpected value 'write'
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches:
- main
pull_request:
branches:
- main
types:
- closed
- opened
- reopened
- synchronize
- labeled
- unlabeled
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions: {}
jobs:
Process-PSModule:
permissions:
contents: read
pages: write
id-token: write
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v8
secrets:
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
GitHubAppClientId: ${{ secrets.SHELLY_CLIENT_ID }}
GitHubAppPrivateKey: ${{ secrets.SHELLY_PRIVATE_KEY }}