Skip to content

GH Actions: validate Dependabot config changes #2

GH Actions: validate Dependabot config changes

GH Actions: validate Dependabot config changes #2

name: Validate Dependabot Config
on:
# Run on all pushes and on all pull requests which update these files.
push:
paths:
- '.github/dependabot.yml'
- '.github/workflows/dependabot-validate.yml'
- '.github/workflows/reusable-dependabot-validate.yml'
pull_request:
paths:
- '.github/dependabot.yml'
- '.github/workflows/dependabot-validate.yml'
- '.github/workflows/reusable-dependabot-validate.yml'
# Allow manually triggering the workflow.
workflow_dispatch:
permissions: {}
jobs:
validate:

Check failure on line 21 in .github/workflows/dependabot-validate.yml

View workflow run for this annotation

GitHub Actions / Validate Dependabot Config

Invalid workflow file

The workflow is not valid. .github/workflows/dependabot-validate.yml (Line: 21, Col: 3): Error calling workflow 'PHPCSStandards/.github/.github/workflows/reusable-dependabot-validate.yml@4fa063980ba5d7d593704374a8b79c4dbf0749b3'. The nested job 'dependabot' is requesting 'contents: read, pull-requests: write', but is only allowed 'contents: none, pull-requests: none'.
name: 'Validate Dependabot Config'
uses: ./.github/workflows/reusable-dependabot-validate.yml