diff --git a/.github/config/gh-ci.toml b/.github/config/gh-ci.toml index 773edef5a..465b0a0cd 100644 --- a/.github/config/gh-ci.toml +++ b/.github/config/gh-ci.toml @@ -5,5 +5,5 @@ endpoint = "https://s3.fr-par.scw.cloud" [lief.deploy] branches = ["master", "deploy", "devel"] -main-branches = ["master", "main"] +main-branches = ["main", "master"] default-dir = "latest" diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml index c2f585ed6..16b5b3200 100644 --- a/.github/workflows/code-check.yml +++ b/.github/workflows/code-check.yml @@ -4,7 +4,7 @@ on: inputs: branch: description: 'LIEF branch' - default: master + default: main required: false type: string what: @@ -19,7 +19,7 @@ on: type: string push: branches: - - master + - main jobs: coverage: runs-on: ubuntu-latest diff --git a/.github/workflows/linux-x86-64.yml b/.github/workflows/linux-x86-64.yml index 19fe6d3c4..1cb421292 100644 --- a/.github/workflows/linux-x86-64.yml +++ b/.github/workflows/linux-x86-64.yml @@ -278,9 +278,9 @@ jobs: CIRCLE_CI_TOKEN: ${{ secrets.CIRCLE_CI_TOKEN }} steps: - name: Trigger documentation - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: | curl --request POST --url ${CIRCLE_CI_URL} \ --header "Circle-Token: ${CIRCLE_CI_TOKEN}" \ --header 'content-type: application/json' \ - --data '{"parameters":{"lief-branch":"master"}}' + --data '{"parameters":{"lief-branch":"main"}}' diff --git a/.github/workflows/windows-all.yml b/.github/workflows/windows-all.yml index d8cdc277d..cf6554d0a 100644 --- a/.github/workflows/windows-all.yml +++ b/.github/workflows/windows-all.yml @@ -2,6 +2,7 @@ name: LIEF Windows on: push: branches: + - 'main' - 'master' - 'release-**' - 'release/**' diff --git a/.github/workflows/windows-quick.yml b/.github/workflows/windows-quick.yml index 652bdc9fe..d1f2b964d 100644 --- a/.github/workflows/windows-quick.yml +++ b/.github/workflows/windows-quick.yml @@ -4,6 +4,7 @@ on: branches: - '**' - '!master' + - '!main' - '!release-**' - '!release/**' tags-ignore: diff --git a/README.md b/README.md index b73adba42..e382966fd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
-
+
@@ -8,27 +8,27 @@
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/doc/sphinx/changelog.rst b/doc/sphinx/changelog.rst
index f34c4fa68..246bf0117 100644
--- a/doc/sphinx/changelog.rst
+++ b/doc/sphinx/changelog.rst
@@ -4,6 +4,9 @@ Changelog
0.15.0 - Not Released Yet
-------------------------
+:Repo:
+ * ``master`` branch has been renamed ``main``
+
:ELF:
* The ``static_symbols`` API functions has been renamed in ``symtab_symbols``.
diff --git a/doc/sphinx/compilation.rst b/doc/sphinx/compilation.rst
index 8eba8fe29..2647a1031 100644
--- a/doc/sphinx/compilation.rst
+++ b/doc/sphinx/compilation.rst
@@ -215,14 +215,14 @@ Continuous Integration
LIEF uses CI Github Action to test and release nightly builds. The configuration
of this CI can also be a good source of information for the compilation process.
-In particular, `scripts/docker/run_linux_sdk