Skip to content

Commit ed45df1

Browse files
committed
ci: Add github token
1 parent fb3d98a commit ed45df1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
git push "https://${GITHUB_ACTOR}:${{ env.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" HEAD:refs/heads/linting/${{ github.head_ref }} --force
4242
gh pr create -B ${{ github.head_ref }} -H ${{ github.head_ref }}-lint -a ${{ github.event.pull_request.user.login }} -T 'Apply linting rules and refactorings for ${{ github.head_ref }}'
4343
shell: bash
44+
env:
45+
GH_TOKEN: ${{ github.token }}
4446
- name: Process lint changes
4547
if: steps.changes-spotless.outputs.changed == 1 || steps.changes-openrewrite.outputs.changed
4648
uses: actions/github-script@v3

0 commit comments

Comments
 (0)