summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-02-01 17:01:46 +0100
committerGitHub <noreply@github.com>2024-02-01 11:01:46 -0500
commitc3ae716fb394344e168ca7ed856e13fb8b6c96bd (patch)
tree500cc4f9fb11a9604ca076344c37610701ff52d2 /.github/workflows
parentb11581491671ed49b1dfdb1ea777932ade7ff2e5 (diff)
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
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/stylua.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml
index 5ec9dab..75db6c3 100644
--- a/.github/workflows/stylua.yml
+++ b/.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: