action-repo-rater

Get votes on EddieHub Repo Rater without lifting a finger 🌟

GPL-3.0 License

Stars
5

❓ Why action-repo-rater?

  • 🍭 Get votes on your repository without lifting a finger
  • 🐙 Automatically comment on issues and pull requests to get votes
  • 🤖 Rank up on the EddieHub Repo Rater

📦 Usage

Allow github-actions to create comments

  1. Go to Settings -> Actions

  2. Enable write permission for GitHub Actions

Creation Action File

Create a file called .github/workflows/repo-rater.yml

name: repo-rater
run-name: repo-rater (#${{ github.event.issue.number || github.event.pull_request.number }})

permissions:
  issues: write
  pull-requests: write

on:
  issues:
    types: [closed]
  pull_request:
    types: [closed]

jobs:
  repo-rater:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: xkrishguptaa/action-repo-rater@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

📝 Configuration

Key Description Required Default Value
github-token The GitHub token to use for authentication, Use this if you want the comment to be posted a user rather than github-actions true Please set value as ${{ secrets.GITHUB_TOKEN }}
message The message to post on the issue or pull request false Thank you all for contributing to this repo! Please take a moment to rate its DX on [EddieHub Repo Rater](https://repo-rater.eddiehub.io/rate?owner=${{ github.repository_owner }}&name=${{ github.event.repository.name }}) and star it 💓
Badges
Extracted from project README
RepoRater