Devansh-Maurya / Get-Email-Message-From-Branch-Action

Provides a well-formatted email subject and body using branch name used for Pull Request and other information obtained from the pull request.

Home Page:https://github.com/marketplace/actions/get-custom-email-message-with-pr-info#github-playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get custom email message with PR info

Provides a well formated email subject and body using branch name used for Pull Request and other information obtained from the pull request.

Usage

name: Get message
uses: Devansh-Maurya/Get-Email-Message-From-Branch-Action@v3
with:
  repo: ${{ github.repository }}
  groups: group1,gropup2
  branch: ${{ github.event.pull_request.head.ref }}
  pr-title: ${{ github.event.pull_request.title }}
  pr-url: ${{ github.event.pull_request.html_url }}

Documentation

inputs:
  repo-name:
    description: 'Repository name'
    required: true
  groups:
    description: 'Branch groups (as CSV) for which you want to get email message data'
    required: true
  branch-name:
    description: 'Branch name'
    required: true
  pr-title:
    description: 'Pull request title'
  pr-url:
    description: 'Pull request url'
outputs:
  subject:
    description: 'Email subject'
  body:
    description: 'Email body'

About

Provides a well-formatted email subject and body using branch name used for Pull Request and other information obtained from the pull request.

https://github.com/marketplace/actions/get-custom-email-message-with-pr-info#github-playground

License:MIT License


Languages

Language:JavaScript 100.0%