Skip to content
heart

GitHub Action

Vaunt Cards Action

v1.0.0 Latest version

Vaunt Cards Action

heart

Vaunt Cards Action

Action to generate vaunt cards in the .vaunt/cards directory

Installation

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

              

- name: Vaunt Cards Action

uses: VauntDev/vaunt-cards-action@v1.0.0

Learn more about this action in VauntDev/vaunt-cards-action
Choose a version

Vaunt Cards Action

This action is used to generate Vaunt repository contribution cards. It will make the API calls to Vaunt with optional authentication with a GitHub Personal Access Token and commit the images to the .vaunt/cards directory.

The GitHub PAT is used only to identify the user so no additional permissions are needed for users. For organizations make sure to select Read access to members. See Vaunt docs here for more details on creating the Personal Access Token.

Example Workflow

Below is an example workflow that updates the Vaunt cards every hour.

name: Vaunt Cards Update
on:
  workflow_dispatch:
  schedule:
  - cron: 30 * * * *

jobs:
  my_job:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v3
    - name: Update Vaunt Cards
      uses: VauntDev/vaunt-cards-action@main
      with:
        # Github Personal Access Token for private repositories
        token: ${{ secrets.PAT }}

Contributors

You can use the contributors card in your README by adding an image link like this:

![Contributors](.vaunt/cards/contributors.svg)

Contributors