From 27f95878b1bfe9d79de02015067fc303a3412fa3 Mon Sep 17 00:00:00 2001 From: Christine Belzie Date: Mon, 29 Jan 2024 18:49:51 -0500 Subject: [PATCH 1/4] feat: add Repo-rater GitHub Action --- .github/workflows/repo-rater.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/repo-rater.yml diff --git a/.github/workflows/repo-rater.yml b/.github/workflows/repo-rater.yml new file mode 100644 index 000000000..b40d290d1 --- /dev/null +++ b/.github/workflows/repo-rater.yml @@ -0,0 +1,22 @@ +name: Repo Rater Action +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.0.6 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + message: "Thank you all for contributing to RepoRater! Please take a moment to rate this repo\\'s DX on [EddieHub\\'s RepoRater](https://repo-rater.eddiehub.io/rate?owner=${{ github.repository_owner }}&name=${{ github.event.repository.name }}) and give the repo a star ⭐" From f112c594d9b73849ccf315253a5e1ca79bcf497d Mon Sep 17 00:00:00 2001 From: Christine Belzie Date: Mon, 29 Jan 2024 19:09:19 -0500 Subject: [PATCH 2/4] fix: omit "repo" for the word "it" --- .github/workflows/repo-rater.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-rater.yml b/.github/workflows/repo-rater.yml index b40d290d1..1dce8d0cc 100644 --- a/.github/workflows/repo-rater.yml +++ b/.github/workflows/repo-rater.yml @@ -19,4 +19,4 @@ jobs: - uses: xkrishguptaa/action-repo-rater@v1.0.6 with: github-token: ${{ secrets.GITHUB_TOKEN }} - message: "Thank you all for contributing to RepoRater! Please take a moment to rate this repo\\'s DX on [EddieHub\\'s RepoRater](https://repo-rater.eddiehub.io/rate?owner=${{ github.repository_owner }}&name=${{ github.event.repository.name }}) and give the repo a star ⭐" + message: "Thank you all for contributing to RepoRater! Please take a moment to rate this repo\\'s DX on [EddieHub\\'s RepoRater](https://repo-rater.eddiehub.io/rate?owner=${{ github.repository_owner }}&name=${{ github.event.repository.name }}) and give it a star ⭐" From 4661f85b6e7528d364fb159c9f0a49a9e01d831c Mon Sep 17 00:00:00 2001 From: Christine Belzie Date: Mon, 29 Jan 2024 19:11:02 -0500 Subject: [PATCH 3/4] fix: omit "all" --- .github/workflows/repo-rater.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-rater.yml b/.github/workflows/repo-rater.yml index 1dce8d0cc..5a43496fe 100644 --- a/.github/workflows/repo-rater.yml +++ b/.github/workflows/repo-rater.yml @@ -19,4 +19,4 @@ jobs: - uses: xkrishguptaa/action-repo-rater@v1.0.6 with: github-token: ${{ secrets.GITHUB_TOKEN }} - message: "Thank you all for contributing to RepoRater! Please take a moment to rate this repo\\'s DX on [EddieHub\\'s RepoRater](https://repo-rater.eddiehub.io/rate?owner=${{ github.repository_owner }}&name=${{ github.event.repository.name }}) and give it a star ⭐" + message: "Thank you for contributing to RepoRater! Please take a moment to rate this repo\\'s DX on [EddieHub\\'s RepoRater](https://repo-rater.eddiehub.io/rate?owner=${{ github.repository_owner }}&name=${{ github.event.repository.name }}) and give it a star ⭐" From f9cc28bd158b25ee92a111958169e87193b802b9 Mon Sep 17 00:00:00 2001 From: Christine Belzie Date: Mon, 29 Jan 2024 19:11:50 -0500 Subject: [PATCH 4/4] fix: replace Repo-Rater with LinksHub --- .github/workflows/repo-rater.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-rater.yml b/.github/workflows/repo-rater.yml index 5a43496fe..3d0b99a8f 100644 --- a/.github/workflows/repo-rater.yml +++ b/.github/workflows/repo-rater.yml @@ -19,4 +19,4 @@ jobs: - uses: xkrishguptaa/action-repo-rater@v1.0.6 with: github-token: ${{ secrets.GITHUB_TOKEN }} - message: "Thank you for contributing to RepoRater! Please take a moment to rate this repo\\'s DX on [EddieHub\\'s RepoRater](https://repo-rater.eddiehub.io/rate?owner=${{ github.repository_owner }}&name=${{ github.event.repository.name }}) and give it a star ⭐" + message: "Thank you for contributing to LinksHub! Please take a moment to rate this repo\\'s DX on [EddieHub\\'s RepoRater](https://repo-rater.eddiehub.io/rate?owner=${{ github.repository_owner }}&name=${{ github.event.repository.name }}) and give it a star ⭐"