Skip to content

T7413: added pr mirror workflows #1

T7413: added pr mirror workflows

T7413: added pr mirror workflows #1

name: Trigger Mirror PR and Repo Sync
on:
pull_request_target:
types:
- closed
branches:
- current
jobs:
call-trigger-mirror-pr-repo-sync:

Check failure on line 10 in .github/workflows/trigger-pr-mirror-repo-sync.yml

View workflow run for this annotation

GitHub Actions / Trigger Mirror PR and Repo Sync

Invalid workflow file

The workflow is not valid. .github/workflows/trigger-pr-mirror-repo-sync.yml (Line: 10, Col: 3): Error calling workflow 'vyos/.github/.github/workflows/trigger-pr-mirror-repo-sync.yml@current'. The workflow is requesting 'contents: write, issues: write, pull-requests: write', but is only allowed 'contents: read, issues: none, pull-requests: none'.
if: github.repository_owner == 'vyos' && github.event.pull_request.merged == true
uses: vyos/.github/.github/workflows/trigger-pr-mirror-repo-sync.yml@current
secrets: inherit