Skip to content

Update docker/build-push-action action to v6.11.0 #5

Update docker/build-push-action action to v6.11.0

Update docker/build-push-action action to v6.11.0 #5

Workflow file for this run

# .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 }}