Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Mar 20, 2024
1 parent d41d292 commit 63d9306
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/yaml_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ jobs:
with:
filters: |
yaml_file_change:
- added|modified: '**.yml'
- name: Add formatting changes
- modified: '**.yml'
- name: Add formatting changes, push
if: steps.filter.outputs.yaml_file_change == 'true'
run: |
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"
- name: Push changes to current branch
if: steps.filter.outputs.yaml_file_change == 'true'
run: git push origin ${{ github.head_ref }}
git push origin ${{ github.head_ref }}

0 comments on commit 63d9306

Please sign in to comment.