mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
726 B
YAML
31 lines
726 B
YAML
name: Weekly bash beautify
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * 0"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
beautify:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
- uses: actions/setup-python@v3
|
|
- name: "Install beautify"
|
|
uses: BSFishy/pip-action@v1
|
|
with:
|
|
packages: |
|
|
beautysh
|
|
- name: "Run beautify"
|
|
run: |
|
|
find . -name '*.sh' -print0 | xargs -0 beautysh --indent-size 4
|
|
- name: Commit if needed
|
|
uses: EndBug/add-and-commit@v9
|
|
with:
|
|
message: "Github bot : script beautyshied"
|
|
default_author: github_actions
|