Skip to content

Commit

Permalink
feat(ci): run ci checks on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed Jun 14, 2024
1 parent e668b02 commit 9d0662e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI
on:
push:
pull_request:
branches:
- main

jobs:
stylua:
Expand All @@ -11,7 +14,7 @@ jobs:
- name: Run Stylua
uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.RELEASE_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --color always --check .

Expand Down Expand Up @@ -61,5 +64,5 @@ jobs:
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.RELEASE_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple

0 comments on commit 9d0662e

Please sign in to comment.