Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Mar 19, 2024
1 parent 4684964 commit 1a44def
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/yaml_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
go install github.com/google/yamlfmt/cmd/yamlfmt@latest
- name: Format YAML files
run: yamlfmt config
- name: Check formatting diff
- name: Add formatting changes
run: |
git diff --color=always --exit-code
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions"
git add .
git commit -m "Automatic YAML formatting"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Access token with push permissions

0 comments on commit 1a44def

Please sign in to comment.