ci: tweak the semantic-release config for GitHub

* `branches` is double quoted as the action expects valid JSON(5) for
  that input, so a string must be quoted
This commit is contained in:
Dafydd Jones 2024-12-01 21:42:45 +00:00
parent 04f5a64dff
commit 3834e758f3

View file

@ -138,12 +138,19 @@ jobs:
# yamllint disable-line rule:comments rule:line-length
- uses: codfish/semantic-release-action@b621d34fabe0940f031e89b6ebfea28322892a10 # v3.5.0
with:
branches: ma(in|ster)
branches: '"ma(in|ster)"'
dry-run: true
plugins: |
[ "@semantic-release/commit-analyzer",
[
[
"@semantic-release/commit-analyzer",
{
"releaseRules": "./release-rules.js"
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
repository-url: ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}