Skip to content

Upgrade Process-PSModule consumer workflow #388

Upgrade Process-PSModule consumer workflow

Upgrade Process-PSModule consumer workflow #388

name: Process-PSModule
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:

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

View workflow run for this annotation

GitHub Actions / Process-PSModule

Invalid workflow file

The workflow is not valid. .github/workflows/Process-PSModule.yml (Line: 28, Col: 3): Error calling workflow 'PSModule/Process-PSModule/.github/workflows/workflow.yml@v8'. The workflow is requesting 'contents: write, pull-requests: write, statuses: write', but is only allowed 'contents: read, pull-requests: none, statuses: none'.
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 }}