Skip to content

Commit

Permalink
issue: nvim-lua#594 stylua workflow only on official kickstart repo
Browse files Browse the repository at this point in the history
Only run the github stylua workflow check on the official
kickstart repo (nvim-lua/kickstart.nvim) so that it's not
enforced on any other forks.
As suggested by: @zwergius
  • Loading branch information
dam9000 committed Feb 1, 2024
1 parent b115814 commit 8b2100d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/stylua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: pull_request_target

jobs:
stylua-check:
if: github.repository == 'nvim-lua/kickstart.nvim'
name: Stylua Check
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 8b2100d

Please sign in to comment.