diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d6e54d..c8d7417 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,9 @@ name: Build Website # Controls when the workflow will run on: pull_request: + push: + branches: + - main # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/reformat-and-lint.yml b/.github/workflows/reformat-and-lint.yml index 3154944..56d12dc 100644 --- a/.github/workflows/reformat-and-lint.yml +++ b/.github/workflows/reformat-and-lint.yml @@ -2,6 +2,9 @@ name: Reformat and Lint on: pull_request: + push: + branches: + - main workflow_dispatch: jobs: @@ -40,6 +43,7 @@ jobs: run: pnpm lint - name: ⬆️ Commit changes + if: github.ref != 'refs/heads/main' uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Reformat and Lint