]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-action: adjust for master to main rename
authorVictor Julien <vjulien@oisf.net>
Tue, 16 Sep 2025 13:07:51 +0000 (15:07 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 16 Sep 2025 13:07:51 +0000 (15:07 +0200)
.github/workflows/authors.yml
.github/workflows/codeql.yml
.github/workflows/codeqlpy.yml
.github/workflows/formatting.yml
.github/workflows/scorecards-analysis.yml

index 14df2a9cc3ee3758b74bca39d3a11042621821a1..8df60c890f042d979948a1ad1825ca005c7236c1 100644 (file)
@@ -20,8 +20,8 @@ jobs:
           ref: ${{ github.event.pull_request.head.sha }}
           fetch-depth: 0
       - run: sudo apt -y install git
-      - name: Export known authors from master branch
-        run: git log --format="%an <%ae>" origin/master | sort | uniq > authors.txt
+      - name: Export known authors from main branch
+        run: git log --format="%an <%ae>" origin/main | sort | uniq > authors.txt
       - name: Export authors from new commits
         run: git log --format="%an <%ae>" ${{ github.event.pull_request.base.sha }}... | sort | uniq > commit-authors.txt
       - name: Check new authors
index 17a21f9dd86508a850df8855cdc18911ba4a9c79..8244989fc9f616110bf50399e5948cbb6878a090 100644 (file)
@@ -2,13 +2,13 @@ name: "CodeQL"
 
 on:
   push:
-    branches: [ master ]
+    branches: [ main ]
     paths-ignore:
       - "doc/**"
       - "etc/schema.json"
   pull_request:
     # The branches below must be a subset of the branches above
-    branches: [ master ]
+    branches: [ main ]
     paths-ignore:
       - "doc/**"
       - "etc/schema.json"
index a68d4f8d534a068389ab0fc457431381be5334f1..0ce04e7789de14fe75d628b53c867aae5e70c3b9 100644 (file)
@@ -2,13 +2,13 @@ name: "CodeQL"
 
 on:
   push:
-    branches: [ master ]
+    branches: [ main ]
     paths:
       - "python/**"
       - "**/*.py"
   pull_request:
     # The branches below must be a subset of the branches above
-    branches: [ master ]
+    branches: [ main ]
     paths:
       - "python/**"
       - "**/*.py"
index 30270588d9c9cb3dc5aae4059df4cc5729bc2d12..e6832064ead994ed89fe13166eb4cc27f37c8612 100644 (file)
@@ -4,7 +4,7 @@ on:
   push:
     # Only run on pushes to pull request branches
     branches-ignore:
-      - 'master'
+      - 'main'
       - 'master-*'
     paths-ignore:
       - "doc/**"
index 7e8d2d6015d181044c5ddce433d20f364c2684a3..ddbcf085c2bbe8708d2143d94ef788bc7408b1ba 100644 (file)
@@ -5,7 +5,7 @@ on:
   schedule:
     - cron: '28 22 * * 6'
   push:
-    branches: [ master ]
+    branches: [ main ]
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.ref }}