Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.78 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.78 KB

OpenSauced Dev Card GitHub Action

This project fetches the OpenSauced dev card for an OpenSauced user with the GitHub username specified in the GitHub action.

nickytonline's OpenSauced Dev Card

About the OpenSauced Dev Card

Usage

To use this action, you need to add the following to a GitHub Actions workflow file.

name: Update OpenSauced Dev Card

on:
  schedule:
    - cron: "0 0 * * *" # Run daily at midnight UTC
  workflow_dispatch: # Allow manual triggering

jobs:
  update-dev-card:
    runs-on: ubuntu-latest
    steps:
      - name: Update Dev Card
        uses: nickytonline/[email protected]
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          username: "your_username"

We suggest you add this to a workflow file in the .github/workflows directory of your repository and call it something like update-open-sauced-dev-card.yml.

When the action runs it will generate an image in the root of your repository called dev-card.png.

To use the image, you need to add the following markdown to your README.md of your special GitHub repository for your README. For example, if your GitHub username is nickytonline, the repository would be nickytonline/nickytonline and the markdown you would add would be:

[![My OpenSauced Dev Card](./dev-card.png)](https://oss.fyi/nickytonline)