chore: uprade 18 cherrypicks round 5 #1130
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Post Integration Test Comment on Base Branch Change | |
on: | |
pull_request: | |
types: | |
- edited | |
jobs: | |
trigger: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.changes.base && github.event.pull_request.base.ref == 'master' }} | |
steps: | |
- name: Post a comment on the PR | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
github.rest.issues.createComment({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.payload.pull_request.number, | |
body: "Base branch is changed to master. Please re-run the integration tests by adding 'force:integration' label." | |
}) |