armbian-build/.github/workflows
dependabot[bot] 54808ecff2 build(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 20:31:42 +01:00
..
README.md GH Actions: Update README.md on how to create and use ARMBIAN_SELF_DISPATCH_TOKEN 2024-03-09 20:03:52 +01:00
adjust-maintainers.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
clean-workflow-logs.yml build(deps): bump igorjs/gh-actions-clean-workflow from 6 to 7 2025-11-03 19:36:42 +01:00
forked-helper.yml build(deps): bump peter-evans/repository-dispatch from 3 to 4 2025-10-06 22:25:46 +02:00
issue-welcome-first-time.yml build(deps): bump plbstl/first-contribution from 3 to 4 2025-09-09 06:22:18 +02:00
labels-from-yml.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
merge-announce.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
open-jira-ticket.yml actions: Run YAML formatter over all workflow files 2024-07-11 18:02:32 +02:00
pr-announce.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
pr-auto-labeler.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
pr-build-artifacts.yml Change pull request trigger in order to get permissions back in order 2024-11-01 08:27:49 +01:00
pr-kernel-security-analysis.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
pr-label-on-approved.yml build(deps): bump actions/download-artifact from 5 to 6 2025-10-27 21:18:26 +01:00
pr-lint-scripts.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
pr-review-listener.yml build(deps): bump actions/upload-artifact from 4 to 5 2025-10-27 21:19:18 +01:00
pr-welcome-first-time.yml build(deps): bump plbstl/first-contribution from 3 to 4 2025-09-09 06:22:18 +02:00
rewrite-kernel-configs.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
scorecard.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00
update-board-list.yml build(deps): bump peter-evans/repository-dispatch from 3 to 4 2025-10-06 22:25:46 +02:00
update-tools.yml build(deps): bump actions/checkout from 5 to 6 2025-11-24 20:31:42 +01:00

README.md

Runners requirements

  • big (6-16 cores, 64Gb SSD, 16Gb memory, 2Gb swap)
  • small (4 cores, 64Gb SSD, 8Gb memory, 2Gb swap)

Preparation

Adding x86 runner to your Jammy VM (check here if any changes):

$ mkdir actions-runner 
$ cd actions-runner
$ curl -o actions-runner-linux-x64-2.294.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.294.0/actions-runner-linux-x64-2.294.0.tar.gz
$ tar xzf ./actions-runner-linux-x64-2.294.0.tar.gz

Configuration

Once asked, tag your runner accordingly:

  • small
  • big
  • arm64

Start the configuration experience

$ ./config.sh --url https://github.com/armbian --token XXXXXXXXXXXXXXXXXXXXXXXXXXX

You need to get a valid token from our DevOps team to proceed.

Create startup scripts

sudo ./svc.sh install # install
sudo ./svc.sh start   # start
sudo ./svc.sh status  # check

Use workflows in forked repositories

forked-helper.yml workflow helper can help to run custom workflows on the forked repositories.

  1. Create a fine-grained Personal Access Token (PAT) with the repo scope and store it as a secret. It needs the following permissions on the target repositories:
    • contents: read & write
    • metadata: read only (automatically selected when selecting the contents permission)
  2. Create a secret named ARMBIAN_SELF_DISPATCH_TOKEN on your repository with security_events permissions. To do this, head to your forked repository, go to Settings on the top bar, select Secrets and variables and then Actions. From here you can create a new repository secret.
    • Name: ARMBIAN_SELF_DISPATCH_TOKEN
    • Secret: Paste your fine-grained Personal Access Token that you created in step 1 here
  3. Helper will dispatch repository_dispatch event armbian on push, release, deployment, pull_request and workflow_dispatch events. All needed event details you can find in client_payload property of the event.
  4. Create empty default branch in forked repository
  5. Create workflow with repository_dispatch in default branch.
  6. Run any need actions in this workflow.

Workflow example:

name: Test Armbian dispatch

on:
  repository_dispatch:
    types: ["armbian"]

jobs:
  show-dispatch:
    name: Show dispatch event details
    runs-on: ubuntu-latest
    steps:
      - uses: hmarr/debug-action@v2