Description: This Github action automatically collects changelogs from pull requests and commit messages, enforces Jira ticket and commit message policies, and exports Jira tickets and changelog files.
Inputs:
enforce_jira_policy
: (Optional, default: 'true') Enforce Jira policyenforce_commit_policy
: (Optional, default: 'true') Enforce commit policyjira_domain
: (Required) The company Jira domain, e.g., 'srgxxxx.atlassian.net'gh_token
: (Required) A Github token with read permission for repositoriespattern_commit_convention
: (Optional, default: "feat|fix|ci|chore|docs|new_api|break_api|deprecate_api") The commit message convention patternpattern_jira_tickets
: (Optional, default: "([a-z]{2,}-)([0-9]+)") Regex for extracting Jira ticketgoogle_sheet_token
: (Required) Google sheet tokengoogle_sheet_id
: (Required) Google sheet idgoogle_sheet_client_email
: (Required) Google sheet client emailgoogle_sheet_work_sheet_title
: (Required) Google sheet work sheet title
Outputs:
jira_ticket_list
: The Jira tickets list from pull request and commit messagesrg_changelog_file
: The file that contains changelog of the current pull request
- feat
- fix
- ci
- chore
- docs
- test
- new_api
- break_api
- deprecate_api