File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 paths-ignore :
66 - ' .github/workflows/reward.yml'
7+ - ' .github/workflows/reward-merged-prs.yml'
78 - ' .github/ISSUE_TEMPLATE/*'
89 - ' *.md'
910 branches :
1011 - master
1112 pull_request :
1213 paths-ignore :
1314 - ' .github/workflows/reward.yml'
15+ - ' .github/workflows/reward-merged-prs.yml'
1416 - ' .github/ISSUE_TEMPLATE/*'
1517 - ' *.md'
1618 branches :
Original file line number Diff line number Diff line change 1+ name : Reward merged PRs
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ per_page :
7+ description : ' Number of merged PRs to process'
8+ required : false
9+ default : ' 15000' # Default value shown in UI
10+ type : string
11+
12+ jobs :
13+ reward :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : read
17+ pull-requests : write
18+ steps :
19+ - uses : ton-society/gh-ton-contribution-reward/.github/actions/rewards-for-merged-prs@v1
20+ with :
21+ per_page : ${{ inputs.per_page }}
22+ activity_id : ' 9745'
23+ github_token : ${{ secrets.GITHUB_TOKEN }}
24+ x_api_key : ${{ secrets.X_API_KEY }}
25+ x_partner_id : ${{ secrets.X_PARTNER_ID }}
Original file line number Diff line number Diff line change 11name : Reward
22
33on :
4- pull_request :
5- types :
6- - closed
4+ push :
5+ branches :
6+ - master
77
88jobs :
99 reward :
1313 contents : read
1414 pull-requests : write
1515 steps :
16- - uses : the- ton-tech/toolchain/ reward@v1.3.0
16+ - uses : ton-society/gh-ton-contribution- reward@v1
1717 with :
18- activity_id : tl-b
19- on_reward_label : rewarded
18+ activity_id : ' 9745'
2019 github_token : ${{ secrets.GITHUB_TOKEN }}
21- society_api_key : ${{ secrets.X_API_KEY }}
22- society_partner_id : ${{ secrets.X_PARTNER_ID }}
20+ x_api_key : ${{ secrets.X_API_KEY }}
21+ x_partner_id : ${{ secrets.X_PARTNER_ID }}
You can’t perform that action at this time.
0 commit comments