From b33f88f895a7f0754eb938b240f3c051162fe0bf Mon Sep 17 00:00:00 2001 From: Ilyar Date: Tue, 20 May 2025 08:18:23 +0200 Subject: [PATCH] chore: setup reward for contribute --- .github/workflows/reward.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/reward.yml diff --git a/.github/workflows/reward.yml b/.github/workflows/reward.yml new file mode 100644 index 0000000..25ac8a2 --- /dev/null +++ b/.github/workflows/reward.yml @@ -0,0 +1,22 @@ +name: Add GitHub User to Allowlist on PR Merge +on: + pull_request: + types: + - closed +jobs: + allowlist: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - name: Use Allowlist GitHub Action + uses: ton-society/github-allowlist-action@main + with: + activity_id: "9747" + github_pr_number: ${{ github.event.pull_request.number }} + github_token: ${{ secrets.GITHUB_TOKEN }} + x_api_key: ${{ secrets.X_API_KEY }} + x_partner_id: ${{ secrets.X_PARTNER_ID }} +