From 972fdd90353dffb8a4db4a7d33d02c9d607fa3f2 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Tue, 23 Jul 2024 11:06:20 -0400 Subject: [PATCH] Add Restyled GHA workflow --- .github/workflows/restyled.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/restyled.yml diff --git a/.github/workflows/restyled.yml b/.github/workflows/restyled.yml new file mode 100644 index 000000000..8b1128885 --- /dev/null +++ b/.github/workflows/restyled.yml @@ -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