Skip to content

๐Ÿ‘ท๐Ÿปโ€โ™‚๏ธ Automatically generate or update AUTHORS.txt for your repository

License

Notifications You must be signed in to change notification settings

wow-actions/update-authors

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
wow-actions-bot[bot]
Jan 30, 2023
aabe8e3 ยท Jan 30, 2023

History

42 Commits
Jan 17, 2023
Jan 17, 2023
Jan 30, 2023
Jan 30, 2023
Oct 16, 2020
Jan 17, 2023
Oct 16, 2020
Oct 16, 2020
Oct 16, 2020
Jan 17, 2023
Jan 30, 2023
Oct 16, 2020
Jan 17, 2023
Oct 17, 2022
Jan 30, 2023
Jan 17, 2023
Jan 30, 2023

Repository files navigation

Update Authors

Automatically generate or update AUTHORS.txt for your repository.

Usage

Create a workflow file such as .github/workflows/authors.yml in your repository:

name: Update Authors
on:
  push:
    branches:
      - master
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: wow-actions/update-authors@v1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

Various inputs are defined to let you configure the action:

Note: Workflow command and parameter names are not case-sensitive.

Name Description Default
GITHUB_TOKEN The GitHub token for authentication N/A
sort Sort type('alphabet' or 'commits') of authors 'alphabet'
bots Include bots or not true
template Template to render each line of authors
Placeholders {{commits}}, {{name}}, {{email}} are supportted
'{{name}} <{{email}}>'
commit Commit message 'chore: update AUTHORS [skip ci]'
path Path of the AUTHORS.txt file 'AUTHORS'

License

The scripts and documentation in this project are released under the MIT License.