GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - juztcode/create-release-notes: Attach jira tickets

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
dist
dist
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
action.yml
action.yml
 
 
index.js
index.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

Create release notes - Github action

A GitHub Action to extract jira tickets from commits and generate release notes.

Usage

  1. Create a .github/workflows/generate-notes.yml file in your GitHub repo.
  2. Add the following code to the generate-notes.yml file.
on:
  pull_request:
    types:
      - opened
      - synchronize
      - reopened
      - ready_for_review
    branches:
      - master

jobs:
  attach:
    runs-on: ubuntu-18.04

    steps:
      -   uses: actions/checkout@v2
          with:
            fetch-depth: 0

      -   name: Generate branch diff file
          if: success()
          run: |
            echo "Head branch: ${GITHUB_HEAD_REF}"
            echo "Base branch: ${GITHUB_BASE_REF}"
            git log origin/${GITHUB_BASE_REF}..origin/${GITHUB_HEAD_REF} > ./branch-diff.txt

      -   name: Generate release notes
          if: success()
          uses: juztcode/[email protected]
          with:
            branch-diff-file: ./branch-diff.txt
            jira-project-key: TEST
            jira-url: "https://ustocktrade.atlassian.net/secure/CreateIssueDetails!init.jspa?pid=10907"

Inputs

Input Purpose
branch-diff-file File contains commit message difference between head and base branches.
jira-project-key Jira project key used to extract ticket ids from commit message (TEST key will detect all ticket ids with pattern TEST-).
previous-version Previous version released
new-version New version to be released
jira-url Jira url to use when generating create release ticket link.

Outputs

Output Purpose
release-notes Generated release notes.

About

Attach jira tickets

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.