]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
chore: rename master to main
authorLaszlo Gombos <laszlo.gombos@gmail.com>
Sat, 30 Mar 2024 02:31:49 +0000 (22:31 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sat, 30 Mar 2024 03:03:48 +0000 (23:03 -0400)
Changed the default branch name from master to main.

.github/workflows/codeql.yml
.github/workflows/container.yml
.github/workflows/integration.yml
.github/workflows/lint.yml
docs/RELEASE.md
tools/release.sh

index e6f8e42e76713fd0731043078e50e0e36b09cbd7..ea63966ffccf6f8ee6189abc61ee2559ca3647bc 100644 (file)
@@ -7,10 +7,10 @@ name: "CodeQL"
 on:
   push:
     branches:
-      - master
+      - main
   pull_request:
     branches:
-      - master
+      - main
 
 permissions:
   contents: read
index 39f9caf39e958eb399a3353dc72d4f27d52db49c..ddc3b02e8fc878c68a652b51008b1e8c7445e4fa 100644 (file)
@@ -3,12 +3,12 @@ on:
     schedule:
         -  cron: '30 11 * * *'   # every day at 11:30 UTC
     push:
-        branches: [ master ]
+        branches: [ main ]
         paths:
             - 'test/container/**'
             - '.github/workflows/container.yml'
     pull_request:
-        branches: [ master ]
+        branches: [ main ]
         paths:
             - 'test/container/**'
             - '.github/workflows/container.yml'
index f4530087a6ddef79d9e990236ebc3272199e1a6e..39b7153e6ff8805144598c7e79cd6dc59b14261b 100644 (file)
@@ -2,7 +2,7 @@ name: Integration Test
 
 on:
     pull_request:
-        branches: [ master ]
+        branches: [ main ]
 
 env:
     DEBUGFAIL: "${{ secrets.ACTIONS_STEP_DEBUG && 'rd.debug' }}"
index d02b332761a835c33215da680dec6f13ae0d388d..0ca237e5b370b37dc2a90570e52d3605e6263d67 100644 (file)
@@ -2,9 +2,9 @@ name: Lint
 
 on:
   push:
-    branches: [ master ]
+    branches: [ main ]
   pull_request:
-    branches: [ master ]
+    branches: [ main ]
 
 jobs:
   lint-shell:
index b043484aa27c0175fa5fd0e840e962f8c9e84bbe..713ba3eff1aa494a2e0bbff4481d51f0b8a90c2a 100644 (file)
@@ -28,7 +28,7 @@ This documents contains the necessary steps to conduct a successful release.
 
    ```console
    $ git commit -m "docs: update NEWS.md and AUTHORS" NEWS.md AUTHORS
-   $ git push origin master
+   $ git push origin main
    ```
 
 5. Tag the release, validate the tag and push
index b6f78266ce54ff5f9c4200bc8c7362b33aa43292..531ead80b1fdc905d03bcdd8ed92993686223ed8 100755 (executable)
@@ -48,7 +48,7 @@ printf "#!/bin/sh\n# shellcheck disable=SC2034\nDRACUT_VERSION=%s\n" "$NEW_VERSI
 git config user.name "Dracut Release Bot"
 git config user.email "<>"
 git commit -m "docs: update NEWS.md and AUTHORS" NEWS.md AUTHORS dracut-version.sh
-git push origin master
+git push origin main
 git tag "$NEW_VERSION" -m "$NEW_VERSION"
 git push --tags