diff --git a/.github/workflows/auto-comment.yml b/.github/workflows/auto-comment.yml new file mode 100644 index 000000000..e4d3fda4c --- /dev/null +++ b/.github/workflows/auto-comment.yml @@ -0,0 +1,19 @@ +name: Check BuildBot + +on: + pull_request: + types: + - opened + +jobs: + auto-comment: + runs-on: ubuntu-22.04 + steps: + - name: PR Comment + run: | + gh pr comment $PRNUM --body "Hi ${{ github.event.issue.user.login }} did you check BuildBot? Based on your PR number: ${{ github.event.pull_request.number }} I am able to write you the URL to your LAST run in Grid View" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + PRNUM: ${{ github.event.pull_request.number }} + AUTHOR: \ No newline at end of file diff --git a/README.md b/README.md index acfd8892a..f56d93763 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ [![bbm-deploy](https://github.com/MariaDB/buildbot/actions/workflows/bbm_deploy.yml/badge.svg)](https://github.com/MariaDB/buildbot/actions/workflows/bbm_deploy.yml) [![eco container build](https://github.com/MariaDB/buildbot/actions/workflows/eco_containers.yml/badge.svg)](https://github.com/MariaDB/buildbot/actions/workflows/eco_containers.yml) -## pre-commit +## pre-commit test [![pre-commit](https://github.com/MariaDB/buildbot/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/MariaDB/buildbot/actions/workflows/pre-commit.yml)