chore: #8377 follow-ups

This commit is contained in:
Max Schmitt 2021-09-01 10:40:36 +02:00
parent 1b2845764d
commit 30591b0115

View file

@ -15,12 +15,12 @@ jobs:
uses: actions/github-script@v4 uses: actions/github-script@v4
with: with:
script: | script: |
const commit = await github.git.getCommit({ const { data } = await github.git.getCommit({
owner: 'microsoft', owner: 'microsoft',
repo: 'playwright', repo: 'playwright',
commit_sha: '${{ github.sha }}', commit_sha: '${{ github.sha }}',
}); });
const commitHeader = commit.message.split('\n')[0]; const commitHeader = data.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