Updated release drafter workflow #3
release-drafter.yml
on: push
update_release_draft
7s
Annotations
1 error and 1 warning
update_release_draft
Invalid config file
|
update_release_draft
mreduar/s3m: Invalid config file
{
name: 'event',
id: '10033822231',
_original: {
'name-template': '',
'tag-template': '',
'tag-prefix': '',
'change-template': '* $TITLE (#$NUMBER) @$AUTHOR',
'change-title-escapes': '',
'no-changes-template': '* No changes',
'version-template': '$MAJOR.$MINOR.$PATCH$PRERELEASE',
'version-resolver': {
major: { labels: [] },
minor: { labels: [] },
patch: { labels: [] },
default: 'patch'
},
categories: [],
'exclude-labels': [],
'include-labels': [],
'include-paths': [],
'exclude-contributors': [],
'no-contributors-template': 'No contributors',
replacers: [],
autolabeler: [],
'sort-by': 'merged_at',
'sort-direction': 'descending',
prerelease: false,
'prerelease-identifier': '',
'include-pre-releases': false,
latest: 'true',
'filter-by-commitish': false,
commitish: '',
'category-template': '## $TITLE',
header: '',
footer: '',
name: 'Release Drafter',
on: {
push: { branches: [ 'main' ] },
pull_request: { types: [ 'opened', 'reopened', 'synchronize' ] }
},
permissions: { contents: 'read' },
jobs: {
update_release_draft: {
permissions: { contents: 'write', 'pull-requests': 'write' },
'runs-on': 'ubuntu-latest',
steps: [
{
uses: 'release-drafter/release-drafter@v6',
with: { 'config-name': 'workflows/release-drafter.yml' },
env: { GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' }
}
]
}
}
},
details: [
{
message: '"template" is required',
path: [ 'template' ],
type: 'any.required',
context: { label: 'template', key: 'template' }
}
],
stack: 'ValidationError: "template" is required',
type: 'Error'
}
|