Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevinzunigacuellar/coauthor-action

A GitHub Action that generates a list of coauthors from a pull request and writes them to a comment
https://github.com/kevinzunigacuellar/coauthor-action

Last synced: 22 days ago
JSON representation

A GitHub Action that generates a list of coauthors from a pull request and writes them to a comment

Awesome Lists containing this project

README

        

# Generate Co-authors

A GitHub Action that compiles a list of coauthors involved in a pull request and posts the "Coauthor-by" string as a comment.

## Usage

```yaml
name: Write coauthors to a pull request
permissions:
pull-requests: write

on:
issue_comment:
types:
- created

jobs:
generate-coauthors:
name: Generate Coauthor
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: kevinzunigacuellar/[email protected]
```

## Inputs

| Name | Description | Default |
|------------------|-----------------------------------------------------------|----------------|
| `token` | GITHUB_TOKEN (pull-requests: write) or a repo scoped PAT. | `GITHUB_TOKEN` |
| `trigger-phrase` | A comment that triggers the action. | `!coauthor` |