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
with:
script: |
const commit = await github.git.getCommit({
const { data } = await github.git.getCommit({
owner: 'microsoft',
repo: 'playwright',
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:
- [ ] Python
- [ ] Java