Skip to content

Rewrite for usage primarily on GitHub Actions #1

Rewrite for usage primarily on GitHub Actions

Rewrite for usage primarily on GitHub Actions #1

Workflow file for this run

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:
token: ${{ inputs.github-token }}
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