Skip to content

Commit

Permalink
chore: sync files with stordco/common-config-elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 21, 2024
1 parent 2c013fe commit 7098031
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"section": "Features",
"hidden": false
},
{
"type": "hotfix",
"section": "Hotfixes",
"hidden": true
},
{
"type": "fix",
"section": "Bug Fixes",
Expand All @@ -22,9 +27,7 @@
"draft-pull-request": false,
"packages": {
".": {
"extra-files": [
"README.md"
],
"extra-files": ["README.md"],
"release-type": "elixir"
}
},
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
return;
}
const REGEX = /^(feat!|fix!|fix|feat|chore|(fix|feat|chore)\(\w.*\)):\s(\[\w{1,8}-\d{1,8}\]|.*).*/;
const REGEX = /^(feat!|fix!|hotfix!|fix|feat|chore|hotfix|(fix|feat|chore|hotfix)\(\w.*\)):\s(\[\w{1,8}-\d{1,8}\]|.*).*/;
if (!REGEX.test(title)) {
core.setFailed("Pull request title does not follow conventional commits");
Expand All @@ -43,7 +43,10 @@ jobs:
fix: [JIRA-1234] fix an existing feature
feat: [JIRA-1234] a new feature to release
feat!: a breaking change
hotfix: needed in production immediately
Note: Adding ! (i.e. \`feat!:\`) represents a breaking change and will result in a SemVer major release.
Adding ! (i.e. \`feat!:\`) represents a breaking change and will result in a SemVer major release.
Starting a commit with \`hotfix\` will result in a seperate hotfix release PR.
`.trim());
}
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ concurrency:
cancel-in-progress: false

jobs:
Please:
Stable:
runs-on: ubuntu-latest

steps:
- id: release
name: Release
uses: googleapis/release-please-action@v4
with:
config-file: .github/release-please-config.json
config-file: .github/release-please-config-stable.json
manifest-file: .github/release-please-manifest.json
target-branch: main
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

0 comments on commit 7098031

Please sign in to comment.