Protean-Labs / mesh

The Mesh Engine that implements the Mesh Language, a computational language for web3.
Apache License 2.0
1 stars 0 forks source link

Failing Draft-Release github action #16

Open cvauclair opened 3 years ago

cvauclair commented 3 years ago

Priority: Medium

Description

Draft-Release github action (on merging PR into main branch) fails with the following error:

Warning: Protean-Labs/mesh: Invalid config file
{
  name: 'ValidationError',
  id: '1171079857',
  isJoi: true,
  details: [
    {
      message: '"template" is required',
      path: [ 'template' ],
      type: 'any.required',
      context: { key: 'template', label: 'template' }
    }
  ],
  _object: {
    'name-template': '',
    'tag-template': '',
    'change-template': '* $TITLE (#$NUMBER) @$AUTHOR',
    'change-title-escapes': '',
    'no-changes-template': '* No changes',
    'version-template': '$MAJOR.$MINOR.$PATCH',
    'version-resolver': {
      major: { labels: [] },
      minor: { labels: [] },
      patch: { labels: [] },
      default: 'patch'
    },
    categories: [],
    'exclude-labels': [],
    'include-labels': [],
    replacers: [],
    autolabeler: [],
    'sort-by': 'merged_at',
    'sort-direction': 'descending',
    prerelease: false,
    'filter-by-commitish': false,
    commitish: '',
    'category-template': '## $TITLE'
  },
  stack: 'ValidationError: child "template" fails because ["template" is required]\n' +
    '    at Object.exports.process (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:5770:19)\n' +
    '    at internals.Object._validateWithOptions (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:7873:31)\n' +
    '    at internals.Object.validate (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:7907:21)\n' +
    '    at validateSchema (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:1071:52)\n' +
    '    at getConfig (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:427:20)\n' +
    '    at async /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:165:20\n' +
    '    at async Promise.all (index 0)',
  type: 'Error'
}
Protean-Labs/mesh: Config validation errors, please fix the following issues in release-drafter.yml:
┌──────────┬────────────────────────┐
│ Property │ Error                  │
├──────────┼────────────────────────┤
│ template │ "template" is required │
└──────────┴────────────────────────┘
{ name: 'event', id: '1171079857' }
Error: Invalid config file