Skip to content

ChromeUniverse Clang-format πŸš€ #1

ChromeUniverse Clang-format πŸš€

ChromeUniverse Clang-format πŸš€ #1

Workflow file for this run

name: Pull Request Approved
run-name: ${{ github.actor }} Clang-format πŸš€
on:
pull_request_review:
types: [submitted]
defaults:
run:
shell: bash -leo pipefail {0}
jobs:
format:
if: github.event.review.state == 'approved'
runs-on: [self-hosted,linux]
steps:
- uses: actions/[email protected]
with:
# check out HEAD on the branch
ref: ${{ github.head_ref }}
# Feature just to grab the branch in newer version
fetch-depth: 0
- run: ${GITHUB_WORKSPACE}/.github/workflows/format.sh
# commit the changes (if there are any)
- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: 🎨 apply clang-format changes
branch: ${{ github.head_ref }}