7575 STDLIB_BOT_GPG_PRIVATE_KEY : ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
7676 STDLIB_BOT_GPG_PASSPHRASE : ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}
7777
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+
78110 # Define a job for printing a list of available slash commands:
79111 help :
80112
84116 # Define the type of virtual host machine:
85117 runs-on : ubuntu-latest
86118
87-
88119 # Define the conditions under which the job should run:
89120 if : github.event.issue.pull_request && startsWith(github.event.comment.body, '/stdlib help')
90121
@@ -105,6 +136,8 @@ jobs:
105136 - `/stdlib check-files` - Check for required files.
106137 - `/stdlib update-copyright-years` - Update copyright header years.
107138 - `/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.
108141
109142 # GitHub token:
110143 token : ${{ secrets.STDLIB_BOT_GITHUB_TOKEN }}
0 commit comments