From d03ad49f67fff257f094b2ddad4832c7665125c4 Mon Sep 17 00:00:00 2001 From: Andrey Myssak <40265277+andreymyssak@users.noreply.github.com> Date: Wed, 3 May 2023 01:08:20 +0600 Subject: [PATCH] Add github-merit-badger workflow (#638) (#730) Signed-off-by: Andrey Myssak --- .github/workflows/github-workflow-badger.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/github-workflow-badger.yml diff --git a/.github/workflows/github-workflow-badger.yml b/.github/workflows/github-workflow-badger.yml new file mode 100644 index 0000000000..12a0f3840b --- /dev/null +++ b/.github/workflows/github-workflow-badger.yml @@ -0,0 +1,20 @@ +name: github-merit-badger +on: + pull_request_target: + types: + - opened + +jobs: + call-action: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: aws-github-ops/github-merit-badger@v0.0.98 + id: merit-badger + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + badges: '[first-time-contributor,repeat-contributor,valued-contributor,seasoned-contributor,all-star-contributor,distinguished-contributor]' + thresholds: '[0,3,6,13,25,50]' + badge-type: 'achievement' + ignore-usernames: '[opensearch-ci-bot, dependabot, opensearch-trigger-bot]'