Caller workflow had no permissions block, so GitHub's permission-
intersection rule capped the nested reusable-version-bump.yml call
to read-only, breaking dispatch ("requesting 'contents: write', but
is only allowed 'contents: read'").
[skip ci]
18 lines
370 B
YAML
18 lines
370 B
YAML
name: Version Bump
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
branches: [main, 'release/**', 'feature/**']
|
|
|
|
jobs:
|
|
bump:
|
|
if: github.event.pull_request.merged == true
|
|
uses: Aignosi/github_workflow_templates/.github/workflows/reusable-version-bump.yml@main
|
|
with:
|
|
update_version_in: '["pyproject"]'
|
|
secrets: inherit
|