File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Issue Assignment Bot
2+ on :
3+ issue_comment :
4+ types : [created]
5+ permissions :
6+ contents : read
7+ issues : write
8+ concurrency :
9+ group : bot-autoassign-issue-${{ github.repository }}-${{ github.event.issue.number }}
10+ cancel-in-progress : true
11+ jobs :
12+ respond-to-assign-request :
13+ if : github.event.issue.pull_request == null
14+ uses : openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
15+ with :
16+ bot_command : issue_assignment
17+ secrets :
18+ OPENWISP_BOT_APP_ID : ${{ secrets.OPENWISP_BOT_APP_ID }}
19+ OPENWISP_BOT_PRIVATE_KEY : ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 1+ name : PR Issue Auto-Assignment
2+ on :
3+ pull_request_target :
4+ types : [opened, reopened, closed]
5+ permissions :
6+ contents : read
7+ issues : write
8+ pull-requests : read
9+ concurrency :
10+ group : bot-autoassign-pr-link-${{ github.repository }}-${{ github.event.pull_request.number }}-${{ github.event.action }}
11+ cancel-in-progress : true
12+ jobs :
13+ auto-assign-issue :
14+ if : github.event.action != 'closed' || github.event.pull_request.merged == false
15+ uses : openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
16+ with :
17+ bot_command : issue_assignment
18+ secrets :
19+ OPENWISP_BOT_APP_ID : ${{ secrets.OPENWISP_BOT_APP_ID }}
20+ OPENWISP_BOT_PRIVATE_KEY : ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 1+ name : PR Reopen Reassignment
2+ on :
3+ pull_request_target :
4+ types : [reopened]
5+ issue_comment :
6+ types : [created]
7+ permissions :
8+ contents : read
9+ issues : write
10+ pull-requests : write
11+ concurrency :
12+ group : bot-autoassign-pr-reopen-${{ github.repository }}-${{ github.event.pull_request.number || github.event.issue.number }}
13+ cancel-in-progress : true
14+ jobs :
15+ reassign-on-reopen :
16+ if : github.event_name == 'pull_request_target' && github.event.action == 'reopened'
17+ uses : openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
18+ with :
19+ bot_command : pr_reopen
20+ secrets :
21+ OPENWISP_BOT_APP_ID : ${{ secrets.OPENWISP_BOT_APP_ID }}
22+ OPENWISP_BOT_PRIVATE_KEY : ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
23+ handle-pr-activity :
24+ if : github.event_name == 'issue_comment' && github.event.issue.pull_request && github.event.issue.user.login == github.event.comment.user.login
25+ uses : openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
26+ with :
27+ bot_command : pr_reopen
28+ secrets :
29+ OPENWISP_BOT_APP_ID : ${{ secrets.OPENWISP_BOT_APP_ID }}
30+ OPENWISP_BOT_PRIVATE_KEY : ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 1+ name : Stale PR Management
2+ on :
3+ schedule :
4+ - cron : " 0 0 * * *"
5+ workflow_dispatch :
6+ permissions :
7+ contents : read
8+ issues : write
9+ pull-requests : write
10+ concurrency :
11+ group : bot-autoassign-stale-pr-${{ github.repository }}
12+ cancel-in-progress : false
13+ jobs :
14+ manage-stale-prs-python :
15+ uses : openwisp/openwisp-utils/.github/workflows/reusable-bot-autoassign.yml@master
16+ with :
17+ bot_command : stale_pr
18+ secrets :
19+ OPENWISP_BOT_APP_ID : ${{ secrets.OPENWISP_BOT_APP_ID }}
20+ OPENWISP_BOT_PRIVATE_KEY : ${{ secrets.OPENWISP_BOT_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments