From f6417b6303b35243b166b1628ae49e1ecd950769 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 22:56:29 +0000 Subject: [PATCH 1/3] Initial plan From d97ea2091b8070070b512e5bb44ca4f54cc8f1b0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 22:57:40 +0000 Subject: [PATCH 2/3] ci: add Gradle CI workflow for Android APK build and artifact upload Agent-Logs-Url: https://github.com/kimocoder/Hijacker/sessions/bddaa3f3-059a-47af-9b13-91630c14a8cb Co-authored-by: kimocoder <4252297+kimocoder@users.noreply.github.com> --- .github/workflows/android-ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/android-ci.yml diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml new file mode 100644 index 0000000..824d6c5 --- /dev/null +++ b/.github/workflows/android-ci.yml @@ -0,0 +1,32 @@ +name: Gradle CI + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Build debug APK + run: ./gradlew assembleDebug + + - name: Upload APK artifacts + uses: actions/upload-artifact@v4 + with: + name: apk-debug + path: app/build/outputs/apk/debug/*.apk + if-no-files-found: error From e8ba7a3756ec3c4a3ef00bff0d013232b2ca5a7f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 22:58:17 +0000 Subject: [PATCH 3/3] ci: restrict GITHUB_TOKEN to contents:read in Gradle CI workflow Agent-Logs-Url: https://github.com/kimocoder/Hijacker/sessions/bddaa3f3-059a-47af-9b13-91630c14a8cb Co-authored-by: kimocoder <4252297+kimocoder@users.noreply.github.com> --- .github/workflows/android-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index 824d6c5..d409329 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -7,6 +7,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: read steps: - name: Checkout repository