Skip to content

fi-krish/action-repo-rater

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

RepoRater


Repo Rater Action

Get votes on EddieHub Repo Rater without lifting a finger 🌟

❓ 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

    GitHub Action Settings Page
  2. Enable write permission for GitHub Actions

    image

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 πŸ’“