Update ankane/blazer Docker tag to v3.1.0 #111
Workflow file for this run
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
name: Docker-compose YAML formatter | |
on: pull_request | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Install eslint eslint-plugin-yml | |
run: npm install eslint @eslint/js eslint-plugin-yml | |
- name: Format docker-compose.yaml | |
run: npx eslint "docker-compose.yaml" --fix | |
- name: Format docker-compose-persist.yaml | |
run: npx eslint "docker-compose-persist.yaml" --fix | |
- name: Push commit to pull request | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Format docker compose YAML files |