Skip to content

Commit

Permalink
ci: fix permissions for release workflow & style changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
LironEr committed Apr 11, 2024
1 parent 75bfbc9 commit 1e1d16c
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
workflow_dispatch:

permissions:
contents: write
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests

jobs:
release:
Expand Down
47 changes: 46 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,52 @@
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/release-notes-generator",
{
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"presetConfig": {
"types": [
{
"type": "breaking",
"section": "❗ BREAKING CHANGES ❗",
"hidden": false
},
{
"type": "feat",
"section": "✨ Features",
"hidden": false
},
{
"type": "fix",
"section": "🐛 Fixes",
"hidden": false
},
{
"type": "chore",
"section": "🔨 Misc.",
"hidden": false
},
{
"type": "docs",
"section": "📝 Documentation",
"hidden": false
},
{
"type": "refactor",
"section": "⚡️ Refactor",
"hidden": false
}
]
}
}
],
"@semantic-release/github",
"semantic-release-major-tag"
]
Expand Down

0 comments on commit 1e1d16c

Please sign in to comment.