Browse Source

chore(sync): synced local '.github/' with remote 'general/.github/' (#5082)

Synced from dgibbs64/repo-sync@5b508220d2782bd61f87f1a838fecfd322df4be5 — feat(sync): sync each group in a parallel matrix job (#25)

Co-authored-by: dgibbs64 <dgibbs64@users.noreply.github.com>
Daniel Gibbs 2 days ago
parent
commit
9036f58f59
1 changed files with 6 additions and 2 deletions
  1. 6 2
      .github/workflows/action-super-linter.yml

+ 6 - 2
.github/workflows/action-super-linter.yml

@@ -4,10 +4,13 @@ on:
   workflow_dispatch:
   push:
     branches:
-      - "*"
+      - main
+      - master
+      - develop
+  pull_request:
 
 concurrency:
-  group: super-linter-${{ github.ref }}
+  group: super-linter-${{ github.event.pull_request.number || github.ref }}
   cancel-in-progress: true
 
 permissions: {}
@@ -41,6 +44,7 @@ jobs:
         env:
           # To report GitHub Actions status checks
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          MULTI_STATUS: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
           VALIDATE_BIOME_FORMAT: false
           VALIDATE_BIOME_LINT: false
           VALIDATE_GITHUB_ACTIONS_ZIZMOR: false