mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-27 10:11:48 -04:00
This commit optimizes CI/CD performance and reproducibility by migrating workflows from `ubuntu-latest` to a three-tier runner strategy using specific Ubuntu 24.04 images. Specific changes include: - **Lightweight Utility Jobs**: Migrated status checks, labelers, triage, changelog generation, and metadata tasks to `ubuntu-24.04-arm` to take advantage of shorter queue times for non-x86 dependent tasks. - **Gradle & Heavy Jobs**: Pinned heavy workloads (Android builds, host checks, CodeQL, Dokka, publishing) to `ubuntu-24.04` to ensure build reproducibility and avoid unexpected breakages from `ubuntu-latest` alias updates. - **Desktop Release Matrix**: Updated the desktop release strategy to include `ubuntu-24.04` and `ubuntu-24.04-arm` for cross-platform native packaging. - **Documentation**: Updated `AGENTS.md`, `GEMINI.md`, and `.github/copilot-instructions.md` to document the new runner strategy and provide guidelines for future workflow modifications. Workflows updated: - `promote.yml`, `release.yml`, `pull-request.yml`, `merge-queue.yml`, `codeql.yml`, `docs.yml`, `reusable-check.yml`, and various utility/triage workflows. Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
15 lines
417 B
YAML
15 lines
417 B
YAML
name: "Pull Request Labeler"
|
|
on:
|
|
- pull_request_target
|
|
# Do not execute arbitary code on this workflow.
|
|
# See warnings at https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request_target
|
|
|
|
jobs:
|
|
labeler:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-24.04-arm
|
|
steps:
|
|
- id: label-the-PR
|
|
uses: actions/labeler@v6 |