Skip to content

Commit

Permalink
Run on main to cache (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjy5 authored Feb 11, 2024
1 parent fb2f162 commit e7a3463
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/reformat-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Reformat and Lint

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -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

0 comments on commit e7a3463

Please sign in to comment.