Skip to content

Commit 03cd39b

Browse files
committed
MDBF-801: Add github status link to full Buildbot results
This enable users that submit pull requests to be able to easily see the link to the full test results of BuildBot.
1 parent 18985d8 commit 03cd39b

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/autocomment.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check BuildBot
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
8+
jobs:
9+
auto-comment:
10+
runs-on: ubuntu-22.04
11+
steps:
12+
- name: PR Comment
13+
run: |
14+
gh pr comment $PRNUM --body "Hi ${{ github.event.pull_request.user.login }}, some Buildbot tests are recorded as GitHub status builder here, however for the complete list of test results see this [BuildBot URL specific to this PR](https://buildbot.mariadb.org/#/grid?branch=refs/pull/${PRNUM}/head). The most recent push to this pull request is on the left."
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
GH_REPO: ${{ github.repository }}
18+
PRNUM: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)