GitHub Action to get description from README.
The first paragraph of the first header is considered the description.
steps:
-
name: 'Checkout repository'
uses: actions/checkout@v4
-
name: 'Get README description'
id: get-description
uses: rtvu/get-description-from-readme-action@v1
-
name: 'Echo description'
run: echo ${{ steps.get-description.outputs.description }}
Name | Description | Default |
---|---|---|
readme |
Path to repository's README. | README.md |
Name | Description |
---|---|
description |
README's description. |