Update rabbitmq Docker tag to v4.0.3 #141
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 |