Skip to content

Commit

Permalink
ci: Add pr create
Browse files Browse the repository at this point in the history
  • Loading branch information
gdupontf committed Nov 27, 2023
1 parent 9247bff commit 06973bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "style: Apply linting rules"
git push "https://${GITHUB_ACTOR}:${{ env.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" HEAD:refs/heads/${{ github.head_ref }}-lint --force
git push "https://${GITHUB_ACTOR}:${{ env.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" HEAD:refs/heads/linting/${{ github.head_ref }} --force
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 }}'
shell: bash
- name: Process lint changes
if: steps.changes-spotless.outputs.changed == 1 || steps.changes-openrewrite.outputs.changed
Expand Down

0 comments on commit 06973bc

Please sign in to comment.