mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 21:58:52 +03:00
chore: create issue on PR merge with client side changes (#8377)
This commit is contained in:
parent
8189de42cf
commit
db36f40422
28
.github/workflows/pr_check_client_side_changes.yml
vendored
Normal file
28
.github/workflows/pr_check_client_side_changes.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: "Check client side changes"
|
||||
on:
|
||||
pull_request:
|
||||
types: [ closed ]
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'src/client/**/*'
|
||||
jobs:
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.event.pull_request.merged == true
|
||||
steps:
|
||||
- name: Create GitHub issue
|
||||
uses: actions/github-script@v4
|
||||
with:
|
||||
script: |
|
||||
const body = `${{ github.event.number }} made changes to the client, this needs to get applied in:
|
||||
- [ ] Python
|
||||
- [ ] Java
|
||||
- [ ] .NET`;
|
||||
await github.issues.create({
|
||||
owner: context.payload.pull_request.base.repo.owner.login,
|
||||
repo: context.payload.pull_request.base.repo.name,
|
||||
title: '[Internal] Backport client change to language ports',
|
||||
body,
|
||||
});
|
Loading…
Reference in New Issue
Block a user