75
75
STDLIB_BOT_GPG_PRIVATE_KEY : ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
76
76
STDLIB_BOT_GPG_PASSPHRASE : ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}
77
77
78
+ # Define a job for merging develop branch:
79
+ merge_develop :
80
+
81
+ # Define the conditions under which the job should run:
82
+ if : github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib merge')
83
+
84
+ # Run reusable workflow:
85
+ uses : ./.github/workflows/pr_merge_develop.yml
86
+ with :
87
+ pull_request_number : ${{ github.event.issue.number }}
88
+ secrets :
89
+ REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
90
+ STDLIB_BOT_GITHUB_TOKEN : ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
91
+ STDLIB_BOT_GPG_PRIVATE_KEY : ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
92
+ STDLIB_BOT_GPG_PASSPHRASE : ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}
93
+
94
+ # Define a job for rebasing on develop branch:
95
+ rebase_develop :
96
+
97
+ # Define the conditions under which the job should run:
98
+ if : github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib rebase')
99
+
100
+ # Run reusable workflow:
101
+ uses : ./.github/workflows/pr_rebase_develop.yml
102
+ with :
103
+ pull_request_number : ${{ github.event.issue.number }}
104
+ secrets :
105
+ REPO_GITHUB_TOKEN : ${{ secrets.REPO_GITHUB_TOKEN }}
106
+ STDLIB_BOT_GITHUB_TOKEN : ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
107
+ STDLIB_BOT_GPG_PRIVATE_KEY : ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
108
+ STDLIB_BOT_GPG_PASSPHRASE : ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}
109
+
78
110
# Define a job for printing a list of available slash commands:
79
111
help :
80
112
84
116
# Define the type of virtual host machine:
85
117
runs-on : ubuntu-latest
86
118
87
-
88
119
# Define the conditions under which the job should run:
89
120
if : github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib help')
90
121
@@ -105,6 +136,8 @@ jobs:
105
136
- `/stdlib check-files` - Check for required files.
106
137
- `/stdlib update-copyright-years` - Update copyright header years.
107
138
- `/stdlib lint-autofix` - Auto-fix lint errors.
139
+ - `/stdlib merge` - Merge changes from develop branch into this PR.
140
+ - `/stdlib rebase` - Rebase this PR on top of develop branch.
108
141
109
142
# GitHub token:
110
143
token : ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
0 commit comments