-
-
Notifications
You must be signed in to change notification settings - Fork 34
Description
I have a step that fetches a specific tag to use in sinceTag. This was working fine until I added excludeTagsRegex. I added this because the changelog included all the tags since the last release, but we just want it to show all the issues since the last release, regardless of their associated tag. Please clarify if I am using this incorrectly.
The step get_last_tag finds the most recent tag that does not end in -develop, and with excludeTagsRegex I am also trying to remove these same tags from the changelog. Now every changelog includes all the issues since I made this change, not since the specified tag. ( I have verified that the correct tag is being passed into this step). After removing the excludeTagsRegex line, the changelog has reverted to how it was before - the correct issues, but lots of tags that just add clutter.
- name: "Prepare for the Github Release"
id: generate-release-changelog-main
uses: heinrichreimer/action-github-changelog-generator@v2.3
if: github.ref == 'refs/heads/main'
with:
token: ${{ secrets.github-token }}
githubSite: <redacted>
githubApi: <redacted>
output: "release_changelog.md"
headerLabel: "# 📑 Changelog"
breakingLabel: '### 💥 Breaking'
enhancementLabel: '### 🚀 Enhancements'
bugsLabel: '### 🐛 Bug fix'
securityLabel: '### 🛡️ Security'
issuesLabel: '### 📁 Other issues'
prLabel: '### 📁 Other pull requests'
stripGeneratorNotice: true
issues: false
issuesWoLabels: false
pullRequests: true
prWoLabels: true
author: true
verbose: true
compareLink: true
excludeTagsRegex: ".*-develop.*"
sinceTag: ${{ steps.get_last_tag.outputs.tag }}