Skip to content

Commit

Permalink
fix: run on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed May 12, 2024
1 parent aff2748 commit 5d0f854
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 15 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: format
on: [pull_request, workflow_dispatch]
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
lua:
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: lint
on: [pull_request, workflow_dispatch]
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
go:
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: test
on: [pull_request, workflow_dispatch]
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
nvim:
strategy:
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/vuln.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
name: vuln
on: [pull_request, workflow_dispatch]
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
lua:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check formatting
uses: JohnnyMorganz/stylua-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
go:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 5d0f854

Please sign in to comment.