Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nefrathenrici committed Mar 20, 2024
1 parent f3f6f6b commit e3800d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/yaml_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: Format YAML
on:
push:
branches: # Only run on push events to branches (exclude main)
- "!main"
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!main' # excludes main

jobs:
format:
Expand All @@ -26,7 +29,5 @@ jobs:
git config --global user.name "GitHub Actions"
git add .
git commit -m "Automatic YAML formatting"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Push changes to current branch
run: git push origin ${{ github.head_ref }}

0 comments on commit e3800d2

Please sign in to comment.