mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-02 10:34:27 +03:00
chore: move client side changes check to the push event
#8377 follow-ups
This commit is contained in:
parent
e98aef2128
commit
16a7de5dab
@ -1,7 +1,6 @@
|
||||
name: "Check client side changes"
|
||||
on:
|
||||
pull_request:
|
||||
types: [ closed ]
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
@ -10,19 +9,19 @@ jobs:
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.event.pull_request.merged == true
|
||||
if: github.repository == 'microsoft/playwright'
|
||||
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:
|
||||
const body = `${{ github.sha }} 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,
|
||||
owner: 'microsoft',
|
||||
repo: ‘playwright',
|
||||
title: '[Internal] Backport client change to language ports',
|
||||
body,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user