File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-24.04
1212 permissions :
1313 contents : write
14- pull-requests : write
1514 steps :
1615 - uses : actions/checkout@v4
1716 - uses : actions/checkout@v4
@@ -49,10 +48,20 @@ jobs:
4948 git add .
5049 git commit -m "feat(roll): roll to ToT Playwright ($(date +"%d-%m-%y"))"
5150 git push origin $BRANCH_NAME --force
51+ - uses : actions/create-github-app-token@v1
52+ id : app-token
53+ with :
54+ app-id : ${{ vars.PLAYWRIGHT_APP_ID }}
55+ private-key : ${{ secrets.PLAYWRIGHT_PRIVATE_KEY }}
56+ - name : Create Pull Request
57+ uses : actions/github-script@v7
58+ with :
59+ github-token : ${{ steps.app-token.outputs.token }}
5260 - name : Create Pull Request
5361 uses : actions/github-script@v7
5462 if : ${{ steps.prepare-branch.outputs.HAS_CHANGES == '1' }}
5563 with :
64+ github-token : ${{ steps.app-token.outputs.token }}
5665 script : |
5766 await github.rest.pulls.create({
5867 owner: 'microsoft',
You can’t perform that action at this time.
0 commit comments