From 82746c2032e79c5093f391b7fd103add8887b5fd Mon Sep 17 00:00:00 2001 From: Damjan 9000 Date: Thu, 1 Feb 2024 17:01:46 +0100 Subject: 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 --- nvim/.github/workflows/stylua.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'nvim/.github/workflows/stylua.yml') diff --git a/nvim/.github/workflows/stylua.yml b/nvim/.github/workflows/stylua.yml index 5ec9dab..75db6c3 100644 --- a/nvim/.github/workflows/stylua.yml +++ b/nvim/.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: -- cgit v1.2.3