From 925b96d0b3429b1af6370cfbe81d41e9aa0444df Mon Sep 17 00:00:00 2001 From: Ashwin P Chandran Date: Mon, 3 Apr 2023 15:35:59 -0700 Subject: [PATCH] Add an achievement badger to the PR (#3721) * Adds achievement workflow Signed-off-by: Ashwin P Chandran * Adds changelog entry Signed-off-by: Ashwin P Chandran * Update CHANGELOG.md based on suggestion --------- Signed-off-by: Ashwin P Chandran --- .github/workflows/github-workflow-badger.yml | 21 ++++++++++++++++++++ CHANGELOG.md | 1 + 2 files changed, 22 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 000000000000..2a0debf326ed --- /dev/null +++ b/.github/workflows/github-workflow-badger.yml @@ -0,0 +1,21 @@ +--- +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]' diff --git a/CHANGELOG.md b/CHANGELOG.md index 3299d655e4be..d3628963e9b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -125,6 +125,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Fix detection of Chrome's version on Darwin during CI ([#3296](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3296)) - Upgrade yarn version to be compatible with @openearch-project/opensearch ([#3443](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3443)) - [CI] Reduce redundancy by using matrix strategy on Windows and Linux workflows ([#3514](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3514)) +- Add an achievement badger to the PR ([#3721](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3721)) ### 📝 Documentation