diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index e8e829ff..e448cadc 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -3,7 +3,7 @@ on: workflow_dispatch: jobs: - build: + format: # setting the environment on the job is mandatory, otherwise it cannot access environment secrets. runs-on: ubuntu-latest @@ -50,7 +50,9 @@ jobs: # Commit changes - name: Commit changes - run: git commit -m "Apply formatting rules" + run: | + git add --all + git commit -m "Apply formatting rules" # Push changes to branch - name: Push changes to branch