ci: fix workflow GITHUB_TOKEN and invalid permissions #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Auto Approve' | ||
|
Check failure on line 1 in .github/workflows/auto-approve.yml
|
||
| description: 'Auto-approve Dependabot and Renovate PRs' | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| pr-author: | ||
| description: 'PR author to auto-approve (comma-separated)' | ||
| type: string | ||
| default: 'dependabot[bot],renovate[bot],4alvit' | ||
| required-reviews: | ||
| description: 'Number of required approvals' | ||
| type: string | ||
| default: '1' | ||
| pr-types: | ||
| description: 'PR types to auto-approve (comma-separated: dependencies, all)' | ||
| type: string | ||
| default: 'dependencies' | ||
| jobs: | ||
| auto-approve: | ||
| uses: victron-venus/venus-os-ci-toolkit/.github/workflows/auto-approve.yml@875762362bb31b4899bf02fdf9e835188dc5eb80 | ||
| with: | ||
| pr-author: ${{ inputs.pr-author }} | ||
| required-reviews: ${{ inputs.required-reviews }} | ||
| pr-types: ${{ inputs.pr-types }} | ||