Skip to content

docs: expand GitHub Actions section with examples and inputs reference#900

Merged
igorpecovnik merged 1 commit intomainfrom
actions
Mar 29, 2026
Merged

docs: expand GitHub Actions section with examples and inputs reference#900
igorpecovnik merged 1 commit intomainfrom
actions

Conversation

@igorpecovnik
Copy link
Copy Markdown
Member

@igorpecovnik igorpecovnik commented Mar 29, 2026

Add workflow examples, runner selection guide, full inputs reference table, and userpatches documentation to the GitHub Actions section.

Create docs preview on PR

Documentation website preview will be available shortly:


 Open WWW preview 

@github-actions github-actions bot added Needs review Seeking for review size/medium PR with more then 50 and less then 250 lines labels Mar 29, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 29, 2026

Warning

Rate limit exceeded

@igorpecovnik has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 22 minutes and 12 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 22 minutes and 12 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 20e8d76c-87ca-4c73-b808-bc387145c314

📥 Commits

Reviewing files that changed from the base of the PR and between 76169f0 and 3057b3c.

📒 Files selected for processing (1)
  • docs/Developer-Guide_Build-Preparation.md

Walkthrough

This pull request updates the Developer Guide documentation for build preparation. It removes trailing whitespace from a shell command, expands the GitHub Actions section with a complete workflow example file (.github/workflows/build.yml), documents the workflow's functionality, provides an inputs reference table detailing workflow parameters, and adds a subsection explaining automatic merging of userpatches directories during builds.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and specifically describes the main changes: expanding the GitHub Actions section with workflow examples and inputs reference documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description directly aligns with the changeset, which adds workflow examples, inputs reference table, and userpatches documentation to the GitHub Actions section.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch actions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

github-actions bot pushed a commit that referenced this pull request Mar 29, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/Developer-Guide_Build-Preparation.md`:
- Line 164: Update the inline comment on the armbian_runner_clean setting to use
the official product capitalization: change "Github runners" to "GitHub runners"
in the comment next to armbian_runner_clean.
- Around line 171-190: Update the Input table to reference the upstream
action.yml (https://github.com/armbian/build/blob/main/action.yml) and reconcile
all defaults/descriptions to match that authoritative source; specifically
verify and correct entries such as armbian_release (default should be "jammy"
upstream), armbian_release_body, and any other fields that differ, and add a
short note or link header above the table pointing to armian/build@main
action.yml so future changes are aligned with the source of truth.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3581db0e-c975-447c-a269-68edab710b70

📥 Commits

Reviewing files that changed from the base of the PR and between 2bc6f7c and 76169f0.

📒 Files selected for processing (1)
  • docs/Developer-Guide_Build-Preparation.md

armbian_release: "noble" # trixie
armbian_target: "build"
armbian_ui: "minimal" # server xfce
armbian_runner_clean: "yes" # recommended for Github runners
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix product name capitalization (“Github” → “GitHub”).

Use the official casing in the inline comment for consistency with the rest of the guide.

Suggested edit
-          armbian_runner_clean: "yes" # recommended for Github runners
+          armbian_runner_clean: "yes" # recommended for GitHub runners
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
armbian_runner_clean: "yes" # recommended for Github runners
armbian_runner_clean: "yes" # recommended for GitHub runners
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/Developer-Guide_Build-Preparation.md` at line 164, Update the inline
comment on the armbian_runner_clean setting to use the official product
capitalization: change "Github runners" to "GitHub runners" in the comment next
to armbian_runner_clean.

Comment on lines +171 to +190
| Input | Required | Default | Description |
|---|---|---|---|
| `armbian_token` | **yes** | — | GitHub access token (`GITHUB_TOKEN` or a PAT) |
| `armbian_board` | no | `uefi-x86` | Hardware platform (e.g. `orangepi5`, `rock-5b`) |
| `armbian_target` | no | `kernel` | Build target: `kernel` or `build` (full image) |
| `armbian_branch` | no | `main` | Armbian framework branch |
| `armbian_kernel_branch` | no | `current` | Kernel branch: `current`, `edge`, etc. |
| `armbian_release` | no | `noble` | Userspace release (e.g. `noble`, `bookworm`, `trixie`) |
| `armbian_ui` | no | `minimal` | `minimal`, `server`, or a desktop environment name (e.g. `xfce`, `gnome`) |
| `armbian_version` | no | *auto* | Override version string; patch level is auto-incremented from `stable.json` if not set |
| `armbian_compress` | no | `sha,img,xz` | Output compression method |
| `armbian_extensions` | no | — | Comma-separated list of build extensions to enable |
| `armbian_pgp_key` | no | — | GPG private key for image signing (store as a secret) |
| `armbian_pgp_password` | no | — | GPG passphrase (store as a secret) |
| `armbian_release_title` | no | `Armbian image` | GitHub Release title |
| `armbian_release_body` | no | *(link to build tools)* | GitHub Release body text |
| `armbian_release_tag` | no | *auto* | GitHub Release tag; defaults to the computed version |
| `armbian_artifacts` | no | `build/output/images/` | Path to artifacts for upload |
| `armbian_runner_clean` | no | — | Set to any non-empty value to free disk space on GitHub-hosted runners |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

For the GitHub Action armbian/build@main, what are the current workflow inputs, defaults, and required flags as defined in its action metadata (action.yml)? Please provide the authoritative source link and list each input.

💡 Result:

The GitHub Action armbian/build@main is defined in the action.yml file at the authoritative source: https://github.com/armbian/build/blob/main/action.yml From the action metadata extracted from source code views (commit 54808ecff253fb71615161e3a216ad14b420022b, likely current as of recent searches): Inputs (with descriptions, required status, and defaults where specified): - armbian_token: "GitHub installation access token" - required: true, default: none - armbian_runner_clean: "Make some space on GH runners" - required: false, default: "" - armbian_artifacts: "Upload PATH" - required: false, default: "build/output/images/" - armbian_target: "Build image or kernel" - required: false, default: "kernel" - armbian_branch: "Choose framework branch" - required: false, default: "main" - armbian_kernel_branch: "Choose kernel branch" - required: false, default: "current" - armbian_release: "Choose userspace release" - required: false, default: "jammy" - armbian_version: "Set different version" - required: false, default: "" - armbian_board: "Choose board" - required: false, default: none (used in examples) - armbian_ui: "User interface" - required: false, default: none (used for minimal/server/desktop decoding) - armbian_release_tittle: "Armbian release title" - required: false, default: "Armbian image" - armbian_release_body: "Armbian images" - required: false, default: "Build with Armbian tools" - armbian_release_tag: "Armbian release tag" - required: false, default: none - armbian_pgp_key: GPG key for signing - required: false, default: none - armbian_pgp_password: GPG passphrase - required: false, default: none No inputs are explicitly marked as deprecated or changed recently. The action uses 'composite' runner and handles Armbian builds, artifact upload to releases, optional signing. Examples from Marketplace and releases confirm usage like armbian_token (required), armbian_release, armbian_target, armbian_board, etc.

Citations:


Add reference link to upstream action.yml and reconcile documentation defaults with the authoritative source.

The table currently diverges from armbian/build@main's action.yml in several places: armbian_release defaults to jammy upstream (not noble), and descriptions like armbian_release_body differ. Link to https://github.com/armbian/build/blob/main/action.yml at the top of this table for maintainability, and update any stale defaults or descriptions to match the source-of-truth.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/Developer-Guide_Build-Preparation.md` around lines 171 - 190, Update the
Input table to reference the upstream action.yml
(https://github.com/armbian/build/blob/main/action.yml) and reconcile all
defaults/descriptions to match that authoritative source; specifically verify
and correct entries such as armbian_release (default should be "jammy"
upstream), armbian_release_body, and any other fields that differ, and add a
short note or link header above the table pointing to armian/build@main
action.yml so future changes are aligned with the source of truth.

Add workflow examples, runner selection guide, full inputs reference
table, and userpatches documentation to the GitHub Actions section.
github-actions bot pushed a commit that referenced this pull request Mar 29, 2026
@igorpecovnik igorpecovnik merged commit 41c2f30 into main Mar 29, 2026
5 checks passed
@igorpecovnik igorpecovnik deleted the actions branch March 29, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs review Seeking for review size/medium PR with more then 50 and less then 250 lines

Development

Successfully merging this pull request may close these issues.

1 participant