Skip to content

Add contributors image generation action#4

Open
skyash-dev wants to merge 2 commits intoprocessing:mainfrom
skyash-dev:main
Open

Add contributors image generation action#4
skyash-dev wants to merge 2 commits intoprocessing:mainfrom
skyash-dev:main

Conversation

@skyash-dev
Copy link
Copy Markdown

@skyash-dev skyash-dev commented Apr 11, 2026

#1
This introduces a reusable github action that generates a contributors image from the .all-contributorsrc file.

What it does:

  • reads contributors from .all-contributorsrc
  • fetches avatar images
  • renders a grid image (contributors.png)
  • commits the image to a dedicated branch
  • opens a pull request automatically

implementation details:

  • uses github api (octokit)
  • handles branch creation and force updates to keep it in sync with base
  • avoids duplicate PRs by checking existing ones
  • separates image generation logic

tests:

GITHUB_TOKEN must be configured with the appropriate workflow permissions:

  • enable read and write permissions
  • enable allow github actions to create and approve pull requests

@skyash-dev
Copy link
Copy Markdown
Author

we can hardcode owner with processing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant