Update docker/build-push-action action to v6.11.0 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/restyled.yml | |
name: Restyled | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
restyled: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the PR's branch | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
# Install and run the Restyled CLI, failing on differences | |
- uses: restyled-io/actions/setup@v4 | |
- id: restyler | |
uses: restyled-io/actions/run@v4 | |
with: | |
fail-on-differences: true | |
# Maintain a sibling PR of the style fixes | |
- if: ${{ !cancelled() && steps.restyler.outputs.success == 'true' }} | |
uses: peter-evans/create-pull-request@v7 | |
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 }} |