diff --git a/.github/workflows/build-kernel-a12.yml b/.github/workflows/build-kernel-a12.yml index 5c141100..0cd37ab1 100644 --- a/.github/workflows/build-kernel-a12.yml +++ b/.github/workflows/build-kernel-a12.yml @@ -1,14 +1,14 @@ name: Build Kernel - Android 12 on: push: - branches: ["main", "ci", "checkci"] + branches: [ "next" ] paths: - ".github/workflows/build-kernel-a12.yml" - ".github/workflows/gki-kernel.yml" - ".github/scripts/build_a12.sh" - "kernel/**" pull_request: - branches: ["main"] + branches: [ "next" ] paths: - ".github/workflows/build-kernel-a12.yml" - ".github/workflows/gki-kernel.yml" @@ -17,7 +17,7 @@ on: workflow_call: jobs: build-kernel: - if: github.event_name != 'pull_request' && github.ref != 'refs/heads/checkci' + if: github.event_name != 'pull_request' && github.ref != 'refs/heads/next' strategy: matrix: include: @@ -41,7 +41,7 @@ jobs: upload-artifacts: needs: build-kernel runs-on: ubuntu-latest - if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/main' ) || github.ref_type == 'tag' || github.ref == 'refs/heads/ci' }} + if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/next' ) || github.ref_type == 'tag' || github.ref == 'refs/heads/next' }} env: CHAT_ID: ${{ secrets.CHAT_ID }} BOT_TOKEN: ${{ secrets.BOT_TOKEN }} @@ -110,7 +110,7 @@ jobs: path: Image-android12*/*.img.gz check-build-kernel: - if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/checkci' + if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/next' uses: ./.github/workflows/gki-kernel.yml with: version: android12-5.10 diff --git a/.github/workflows/build-kernel-a13.yml b/.github/workflows/build-kernel-a13.yml index 9c2f335d..0d36ff3d 100644 --- a/.github/workflows/build-kernel-a13.yml +++ b/.github/workflows/build-kernel-a13.yml @@ -1,14 +1,14 @@ name: Build Kernel - Android 13 on: push: - branches: ["main", "ci", "checkci"] + branches: [ "next" ] paths: - ".github/workflows/build-kernel-a13.yml" - ".github/workflows/gki-kernel.yml" - ".github/scripts/build_a13.sh" - "kernel/**" pull_request: - branches: ["main"] + branches: [ "next" ] paths: - ".github/workflows/build-kernel-a13.yml" - ".github/workflows/gki-kernel.yml" @@ -17,7 +17,7 @@ on: workflow_call: jobs: build-kernel: - if: github.event_name != 'pull_request' && github.ref != 'refs/heads/checkci' + if: github.event_name != 'pull_request' && github.ref != 'refs/heads/next' strategy: matrix: include: @@ -72,7 +72,7 @@ jobs: upload-artifacts: needs: build-kernel runs-on: ubuntu-latest - if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/main' ) || github.ref_type == 'tag' || github.ref == 'refs/heads/ci' }} + if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/next' ) || github.ref_type == 'tag' || github.ref == 'refs/heads/next' }} env: CHAT_ID: ${{ secrets.CHAT_ID }} BOT_TOKEN: ${{ secrets.BOT_TOKEN }} @@ -141,7 +141,7 @@ jobs: path: Image-android13*/*.img.gz check-build-kernel: - if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/checkci' + if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/next' strategy: matrix: include: diff --git a/.github/workflows/build-kernel-a14.yml b/.github/workflows/build-kernel-a14.yml index 4d8a97b8..50bcc272 100644 --- a/.github/workflows/build-kernel-a14.yml +++ b/.github/workflows/build-kernel-a14.yml @@ -1,14 +1,14 @@ name: Build Kernel - Android 14 on: push: - branches: ["main", "ci", "checkci"] + branches: [ "next" ] paths: - ".github/workflows/build-kernel-a14.yml" - ".github/workflows/gki-kernel.yml" - ".github/scripts/build_a13.sh" - "kernel/**" pull_request: - branches: ["main"] + branches: [ "next" ] paths: - ".github/workflows/build-kernel-a14.yml" - ".github/workflows/gki-kernel.yml" @@ -17,7 +17,7 @@ on: workflow_call: jobs: build-kernel: - if: github.event_name != 'pull_request' && github.ref != 'refs/heads/checkci' + if: github.event_name != 'pull_request' && github.ref != 'refs/heads/next' strategy: matrix: include: @@ -78,7 +78,7 @@ jobs: upload-artifacts: needs: build-kernel runs-on: ubuntu-latest - if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/main' ) || github.ref_type == 'tag' || github.ref == 'refs/heads/ci' }} + if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/next' ) || github.ref_type == 'tag' || github.ref == 'refs/heads/next' }} env: CHAT_ID: ${{ secrets.CHAT_ID }} BOT_TOKEN: ${{ secrets.BOT_TOKEN }} @@ -147,7 +147,7 @@ jobs: path: Image-android14*/*.img.gz check-build-kernel: - if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/checkci' + if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/next' strategy: matrix: include: diff --git a/.github/workflows/build-kernel-a15.yml b/.github/workflows/build-kernel-a15.yml index b59e8b93..93021b40 100644 --- a/.github/workflows/build-kernel-a15.yml +++ b/.github/workflows/build-kernel-a15.yml @@ -1,14 +1,14 @@ name: Build Kernel - Android 15 on: push: - branches: ["main", "ci", "checkci"] + branches: [ "next" ] paths: - ".github/workflows/build-kernel-a15.yml" - ".github/workflows/gki-kernel.yml" - ".github/scripts/build_a13.sh" - "kernel/**" pull_request: - branches: ["main"] + branches: [ "next" ] paths: - ".github/workflows/build-kernel-a15.yml" - ".github/workflows/gki-kernel.yml" @@ -17,7 +17,7 @@ on: workflow_call: jobs: build-kernel: - if: github.event_name != 'pull_request' && github.ref != 'refs/heads/checkci' + if: github.event_name != 'pull_request' && github.ref != 'refs/heads/next' strategy: matrix: include: @@ -36,7 +36,7 @@ jobs: upload-artifacts: needs: build-kernel runs-on: ubuntu-latest - if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/main' ) || github.ref_type == 'tag' || github.ref == 'refs/heads/ci' }} + if: ${{ ( github.event_name != 'pull_request' && github.ref == 'refs/heads/next' ) || github.ref_type == 'tag' || github.ref == 'refs/heads/next' }} env: CHAT_ID: ${{ secrets.CHAT_ID }} BOT_TOKEN: ${{ secrets.BOT_TOKEN }} @@ -105,7 +105,7 @@ jobs: path: Image-android15*/*.img.gz check-build-kernel: - if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/checkci' + if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/next' strategy: matrix: include: diff --git a/.github/workflows/build-lkm.yml b/.github/workflows/build-lkm.yml index 9e70d39b..0a20637f 100644 --- a/.github/workflows/build-lkm.yml +++ b/.github/workflows/build-lkm.yml @@ -1,11 +1,11 @@ name: Build LKM for KernelSU on: push: - branches: ["main", "ci", "checkci"] + branches: [ "next" ] paths: - ".github/workflows/build-lkm.yml" pull_request: - branches: ["main"] + branches: [ "next" ] paths: - ".github/workflows/build-lkm.yml" workflow_call: diff --git a/.github/workflows/build-su.yml b/.github/workflows/build-su.yml index 22fd58af..25fc2898 100644 --- a/.github/workflows/build-su.yml +++ b/.github/workflows/build-su.yml @@ -1,13 +1,13 @@ name: Build SU on: push: - branches: [ "main", "ci" ] + branches: [ "next" ] paths: - '.github/workflows/build-su.yml' - 'userspace/su/**' - 'scripts/ksubot.py' pull_request: - branches: [ "main" ] + branches: [ "next" ] paths: - 'userspace/su/**' jobs: diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 2ea5bc48..30552d77 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -3,7 +3,7 @@ name: Clippy check on: push: branches: - - main + - next paths: - '.github/workflows/clippy.yml' - 'userspace/ksud/**' diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml index 18a178b6..fb04ce8c 100644 --- a/.github/workflows/rustfmt.yml +++ b/.github/workflows/rustfmt.yml @@ -3,13 +3,13 @@ name: Rustfmt check on: push: branches: - - 'main' + - 'next' paths: - '.github/workflows/rustfmt.yml' - 'userspace/ksud/**' pull_request: branches: - - 'main' + - 'next' paths: - '.github/workflows/rustfmt.yml' - 'userspace/ksud/**' diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index f864e05f..55ddfbfb 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -3,13 +3,13 @@ name: ShellCheck on: push: branches: - - 'main' + - 'next' paths: - '.github/workflows/shellcheck.yml' - '**/*.sh' pull_request: branches: - - 'main' + - 'next' paths: - '.github/workflows/shellcheck.yml' - '**/*.sh'