mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: have commit header in the client side changes issue title (#8591)
This commit is contained in:
parent
9f8e8444d8
commit
fd5c10e5d7
@ -15,6 +15,12 @@ jobs:
|
|||||||
uses: actions/github-script@v4
|
uses: actions/github-script@v4
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
const commit = await github.git.getCommit({
|
||||||
|
owner: 'microsoft',
|
||||||
|
repo: 'playwright',
|
||||||
|
commit_sha: '${{ github.sha }}',
|
||||||
|
});
|
||||||
|
const commitHeader = commit.message.split('\n')[0];
|
||||||
const body = `${{ github.sha }} 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
|
- [ ] Python
|
||||||
- [ ] Java
|
- [ ] Java
|
||||||
@ -22,6 +28,6 @@ jobs:
|
|||||||
await github.issues.create({
|
await github.issues.create({
|
||||||
owner: 'microsoft',
|
owner: 'microsoft',
|
||||||
repo: 'playwright',
|
repo: 'playwright',
|
||||||
title: '[Internal] Backport client change to language ports',
|
title: `[Ports] Apply: ${commitHeader}`,
|
||||||
body,
|
body,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user