Skip to content
edit-2

GitHub Action

PR Output

3.0.0 Latest version

PR Output

edit-2

PR Output

Outputs markdown content to pull requests

Installation

Copy and paste the following snippet into your .yml file.

              

- name: PR Output

uses: zattoo/output@3.0.0

Learn more about this action in zattoo/output

Choose a version

✍🏽 Output

GitHub Action to output markdown content to pull requests.

Inputs

token

string

Required. GitHub token

sources

array of strings

String with folders containing md files separated by commas (Supports glob pattern) Example : 'projects/app/stats/, projects/embed/errors/'

name

string

Required. Name to identify the output entity

top

string - boolean like

Optional. set to true to position content at the top of the pull requests description

Usage Example

on: [pull_request]

jobs:
  changelog:
    runs-on: ubuntu-latest
    name: Output
    steps:
      - uses: actions/checkout@v2
      - uses: zattoo/output@v1
        with:
          token: ${{github.token}}
          sources: 'src/projects/a/, src/projects/b/'