armbian-build/.github/workflows
Igor Pecovnik f56bfc7553
chore: rename workflow files to action-oriented naming
Rename all workflow files to follow a consistent action-oriented naming pattern similar to armbian.github.io:

- adjust-maintainers.yml → sync-maintainers-status.yml
- clean-workflow-logs.yml → cleanup-workflow-logs.yml
- forked-helper.yml → help-forked.yml
- issue-welcome-first-time.yml → welcome-issue-first-time.yml
- labels-from-yml.yml → sync-labels.yml
- merge-announce.yml → announce-merge.yml
- open-jira-ticket.yml → create-jira-ticket.yml
- pr-announce.yml → announce-pr.yml
- pr-auto-labeler.yml → auto-label-pr.yml
- pr-build-artifacts.yml → build-pr-artifacts.yml
- pr-check-pictures.yml → check-pr-pictures.yml
- pr-kernel-security-analysis.yml → analyze-pr-kernel-security.yml
- pr-label-on-approved.yml → label-pr-on-approval.yml
- pr-lint-scripts.yml → lint-pr-scripts.yml
- pr-review-listener.yml → listen-pr-review.yml
- pr-welcome-first-time.yml → welcome-pr-first-time.yml
- rewrite-kernel-configs.yml → rewrite-kernel-config-files.yml
- update-board-list.yml → sync-board-list.yml
- update-tools.yml → sync-tools.yml

This makes the workflow names more descriptive and consistent with the action verb first, followed by the target object.
2025-12-25 11:43:57 +01:00
..
analyze-pr-kernel-security.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
announce-merge.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
announce-pr.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
auto-label-pr.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
build-pr-artifacts.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
check-pr-pictures.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
cleanup-workflow-logs.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
create-jira-ticket.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
help-forked.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
label-pr-on-approval.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
lint-pr-scripts.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
listen-pr-review.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +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
rewrite-kernel-config-files.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
scorecard.yml build(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 2025-12-15 20:58:43 +01:00
sync-board-list.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
sync-labels.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
sync-maintainers-status.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
sync-tools.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
welcome-issue-first-time.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00
welcome-pr-first-time.yml chore: rename workflow files to action-oriented naming 2025-12-25 11:43:57 +01:00

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