Ver Fonte

issue: #594 stylua workflow only on official kickstart repo (#609)

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
Damjan 9000 há 2 anos atrás
pai
commit
c3ae716fb3
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      .github/workflows/stylua.yml

+ 1 - 0
.github/workflows/stylua.yml

@@ -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: