Skip to content

ci: fix workflow GITHUB_TOKEN and invalid permissions #6

ci: fix workflow GITHUB_TOKEN and invalid permissions

ci: fix workflow GITHUB_TOKEN and invalid permissions #6

Workflow file for this run

name: 'Auto Approve'

Check failure on line 1 in .github/workflows/auto-approve.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/auto-approve.yml

Invalid workflow file

(Line: 18, Col: 5): Unexpected value 'jobs', (Line: 19, Col: 3): Unexpected value 'auto-approve', (Line: 22, Col: 18): Unrecognized named-value: 'inputs'. Located at position 1 within expression: inputs.pr-author, (Line: 23, Col: 25): Unrecognized named-value: 'inputs'. Located at position 1 within expression: inputs.required-reviews, (Line: 24, Col: 17): Unrecognized named-value: 'inputs'. Located at position 1 within expression: inputs.pr-types, (Line: 1, Col: 1): Required property is missing: jobs
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 }}