Skip to content

Commit

Permalink
Add Restyled GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jul 23, 2024
1 parent f77f2b0 commit 972fdd9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/restyled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Restyled

on:
pull_request:

jobs:
restyled:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: ./actions/setup
- id: restyler
uses: ./actions/run
- uses: peter-evans/create-pull-request@v6
with:
base: ${{ steps.restyler.outputs.restyled-base }}
branch: ${{ steps.restyler.outputs.restyled-head }}
title: ${{ steps.restyler.outputs.restyled-title }}
body: ${{ steps.restyler.outputs.restyled-body }}
labels: ${{ steps.restyler.outputs.restyled-labels }}
reviewers: ${{ steps.restyler.outputs.restyled-reviewers }}
team-reviewers: ${{ steps.restyler.outputs.restyled-team-reviewers }}
delete-branch: true

0 comments on commit 972fdd9

Please sign in to comment.