mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-31 06:20:48 -08:00
31 lines
668 B
YAML
31 lines
668 B
YAML
name: Formatting
|
|
|
|
# This action works with pull requests and pushes
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- dev
|
|
- photon-style
|
|
- proton-style
|
|
paths:
|
|
- userChrome.css
|
|
- userContent.css
|
|
|
|
jobs:
|
|
prettier:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Prettify code
|
|
uses: creyD/prettier_action@v3.3
|
|
with:
|
|
# This part is also where you can pass other options, for example:
|
|
prettier_options: --write .
|
|
commit_message: "Clean: Prettified Code!"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|