How do I show GitHub Actions status on a wall monitor?
Add one job to the end of your workflow. It turns the result of each job into a board file and pushes it to a branch of the same repository, and FluxGlow reads the file from there. There are no secrets to set up and nothing else to host.
What you get
One orb for each job, wired in the order they run. This is the board after a run in which the tests failed, so the deploy never started:
{
"title": "checkout",
"tag": "Run # 412",
"nodes": [
{ "id": "build", "label": "Build", "after": [], "state": "ok", "badge": "Passed", "caption": "Last ran", "since": "2026-11-11T16:51:00Z" },
{ "id": "test", "label": "Test", "after": ["build"], "state": "bad", "badge": "Failed", "caption": "Last ran", "since": "2026-11-11T16:51:00Z" },
{ "id": "deploy", "label": "Deploy", "after": ["test"], "state": "idle", "badge": "Did not run" }
]
}How it works
Three things GitHub already does make this possible without any outside service:
- A job can see how the jobs before it ended, through
needs.<job>.result. - Every workflow run is given a token that can push to its own repository.
- GitHub serves the files of a public repository at
raw.githubusercontent.comin a way that lets other websites read them.
Set it up
Add the board job to your workflow
Copy the board job from the workflow below into your own workflow file. List your jobs in its needs line, and give each one a line in the env block and a node in the list.
Push, and let the workflow run once
When the run finishes, the repository has a new branch called fluxglow that holds one file, board.json.
Open the board
Open this address, with your own owner and repository names in place of
OWNERandREPO:Address https://fluxglow.com/board?src=https://raw.githubusercontent.com/OWNER/REPO/fluxglow/board.json
The workflow
The first three jobs stand in for your pipeline. The board job at the end is the part to copy.
name: CI
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: make build
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: make test
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: make deploy
# Everything above is your pipeline. This job is the only addition.
board:
name: Update the FluxGlow board
needs: [build, test, deploy]
if: always()
runs-on: ubuntu-latest
permissions:
contents: write
concurrency: fluxglow-board
steps:
- name: Write board.json
env:
BUILD: ${{ needs.build.result }}
TEST: ${{ needs.test.result }}
DEPLOY: ${{ needs.deploy.result }}
run: |
jq -n \
--arg title "${GITHUB_REPOSITORY#*/}" \
--arg tag "Run # $GITHUB_RUN_NUMBER" \
--arg now "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
--arg build "$BUILD" --arg test "$TEST" --arg deploy "$DEPLOY" '
def node($id; $label; $result; $after):
{id: $id, label: $label, after: $after}
+ ({
success: {state: "ok", badge: "Passed"},
failure: {state: "bad", badge: "Failed"},
cancelled: {state: "warn", badge: "Cancelled"}
}[$result] // {state: "idle", badge: "Did not run"})
+ (if $result == "success" or $result == "failure"
then {caption: "Last ran", since: $now} else {} end);
{
title: $title[0:60],
tag: $tag,
nodes: [
node("build"; "Build"; $build; []),
node("test"; "Test"; $test; ["build"]),
node("deploy"; "Deploy"; $deploy; ["test"])
]
}' > board.json
cat board.json
- name: Publish it on the fluxglow branch
env:
GH_TOKEN: ${{ github.token }}
run: |
git init --quiet --initial-branch=fluxglow
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add board.json
git commit --quiet --message "Board for run $GITHUB_RUN_NUMBER"
git push --force --quiet "https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY.git" fluxglowWhat each part is for
needswithif: always()makes the job wait for the others and then run whatever happened to them. Withoutalways(), a failed test would skip the board job, which is exactly when you want it.permissions: contents: writelets this one job push. The other jobs keep whatever permissions they had.- The results go in through
envand are turned into JSON byjq, which is already installed on GitHub's runners. Usingjqrather than pasting text together means a stray quote mark cannot break the file. - The publish step makes a fresh one-commit branch each time and force-pushes it. The
fluxglowbranch never grows a history, and it never touches your code. concurrencystops two runs from pushing at the same moment.
How results become states
| Job result | State | Badge |
|---|---|---|
success | ok, green | Passed |
failure | bad, red | Failed |
cancelled | warn, amber | Cancelled |
skipped | idle, grey | Did not run |
Change the words or the mapping in the jq block to suit. To put a figure inside an orb, add value and unit to a node, as described in the docs.
Things to know
- Public repositories only. GitHub will not serve a private repository's files to a browser that is not logged in. For a private repository, keep the job and swap the publish step for one that uploads to a bucket, as shown below.
- Up to five minutes behind. GitHub caches raw files for five minutes, so the board can lag a finished run by that long.
- No loops. A push made with the workflow's own token does not start other workflows, so publishing the board cannot set off another run.
- Branch rules. If the repository has rules that cover every branch, make an exception for
fluxglowso the job is allowed to force-push it.
A board of every job, without touching your CI file
If you would rather not edit the pipeline, add a second workflow that watches the first. It asks GitHub for the jobs of each run and draws one orb for each, including the ones still running, with how long each took.
name: FluxGlow board
on:
workflow_run:
workflows: [CI] # the name of the workflow to watch
types: [requested, in_progress, completed]
permissions:
actions: read
contents: write
concurrency: fluxglow-board
jobs:
board:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
RUN_ID: ${{ github.event.workflow_run.id }}
RUN_NUMBER: ${{ github.event.workflow_run.run_number }}
BRANCH: ${{ github.event.workflow_run.head_branch }}
steps:
- name: Write board.json from the jobs of that run
run: |
gh api "repos/$GITHUB_REPOSITORY/actions/runs/$RUN_ID/jobs?per_page=50" |
jq --arg title "${GITHUB_REPOSITORY#*/}" --arg branch "$BRANCH" --arg run "$RUN_NUMBER" '
def minutes: ((.completed_at | fromdate) - (.started_at | fromdate)) / 60 | round;
{
title: $title[0:60],
tag: "\($branch[0:28]) # \($run)",
nodes: ([
.jobs[0:50] | to_entries[] | .key as $i | .value |
{id: "job\($i)", label: .name[0:24]}
+ (if .status == "in_progress" then {state: "run", badge: "Running"}
elif .status != "completed" then {state: "idle", badge: "Waiting"}
elif .conclusion == "success" then {state: "ok", badge: "Passed"}
elif .conclusion == "skipped" then {state: "idle", badge: "Skipped"}
elif .conclusion == "cancelled" then {state: "warn", badge: "Cancelled"}
else {state: "bad", badge: "Failed"} end)
+ (if .status == "completed" and .conclusion != "skipped" and .conclusion != "cancelled"
then {value: minutes, unit: (if minutes == 1 then "min" else "mins" end), caption: "Finished", since: .completed_at}
else {} end)
] | if length == 0 then [{id: "queued", label: "Queued", state: "idle", badge: "Waiting to start"}] else . end)
}' > board.json
cat board.json
- name: Publish it on the fluxglow branch
run: |
git init --quiet --initial-branch=fluxglow
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add board.json
git commit --quiet --message "Board for run $RUN_NUMBER"
git push --force --quiet "https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY.git" fluxglow- Set
workflows: [CI]to thenameof the workflow you want on the wall. - The file has to be on the repository's default branch before GitHub will run it.
- GitHub's list of jobs does not say which job waits for which, so these orbs are laid out as a grid rather than joined with arrows. A matrix job gets one orb for each combination.
- In the moment before any job has been handed to a runner, the board shows a single grey orb marked "Queued".
Faster than five minutes
To see a result within seconds, publish the file somewhere that does not cache it. Replace the publish step in either workflow with an upload to a bucket:
- name: Publish it to S3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
run: |
aws s3 cp board.json s3://your-bucket/board.json \
--content-type application/json --cache-control no-cacheThen use the bucket's address after src=. Where to host a board file covers the bucket's settings.
Then put it on a screen
The address works in any browser. To get it onto a TV, see how to put a dashboard on a TV.
Related questions
-
How do I build a CI/CD pipeline dashboard for the office wall?
Give each stage of the pipeline a node, say what it comes after, and have the last step of the pipeline write the file. The wall then shows where a change has got to and where it stopped.
-
Where can I host a board file?
Anywhere that serves the file over https, lets other websites read it, and does not cache it for long. A storage bucket, a public GitHub repository or a web server you already run will all do.
-
Does FluxGlow work with GitLab CI, CircleCI, Buildkite or Azure Pipelines?
Yes. FluxGlow has no integrations, so there are none to wait for. Any CI system that can run a shell command at the end of a pipeline can write a board file and upload it.