Skip to content

djdefi/team-readme-generator

Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

team-readme-generator

Action to automatically keep a table of team members up to date in a repository README.

Example:

The Team:

👤 Username Location Bio
@djdefi California Staff Support Engineer @github
@bevns California Software Engineer

About us

We are small but mighty!

Usage:

  1. Configure a workflow such as the example

    name: "Team README table generator"
    
    on:
    
      # Allows you to run this workflow manually from the Actions tab
      workflow_dispatch:
        inputs:
          org:
            description: 'The organization to run the workflow against'
            required: true
            default: 'my-org'
          team:
            description: 'The team to run the workflow against'
            required: true
            default: 'my-team'
    
    jobs:
      run_team_readme_job:
        runs-on: ubuntu-latest
        name: Run team readme generator
        steps:
          - uses: actions/checkout@v3
          - id: Generate
            uses: djdefi/team-readme-generator@main
            with:
              org: ${{ github.event.inputs.org }}
              team: ${{ github.event.inputs.team }}
              my-pat: ${{ secrets.MY_PAT }}
    
  2. Setup the README.md by adding the following two tags wherever you want the table to appear:

    <!--auto-team-table-->
    <!--/auto-team-table-->
  3. Configure MY_PAT as an Actions secret. The token needs to have org:read and repo:write scopes to get team info and create pull requests.

  4. Run the the Action workflow with the desired team name.

  5. Review and merge the resulting pull requests.

About

GitHub Action for updating a repository readme with a table of team members

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published