Assert expected payloads
Combine files globs and expected values with fail-on: missing (default) so any broken or mismatched QR code on a poster or page stops the build.
Flag broken labels, missing payloads and unreadable image exports automatically before changes merge or ship.
Combine files globs and expected values with fail-on: missing (default) so any broken or mismatched QR code on a poster or page stops the build.
Read result, compact report JSON (schema qrcode-barcode-scanner-action/1), full report-path with base64 raw bytes and qrscan-path.
Ships with profile: full and budget-ms: 0 (unlimited time) for consistent runner results, while workflow commands stay disabled around logs.
Save a known reference image, trigger the workflow scan and confirm the decoded string character for character.
Create a text QR code encoding https://qrcode-ai.com/ and save it as qr-reference.png.
jobs:
codes:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- name: Verify qr-reference.png
id: codes
uses: qrcode-ai-com/qrcode-barcode-scanner-action@v1
with:
files: qr-reference.png
expected: https://qrcode-ai.com/
- run: echo "Result: ${{ steps.codes.outputs.result }}"GitHub Actions validates qrscan via SHA-256, extracts the exact QR URL and sets steps.codes.outputs.result to pass.
Sample output for qr-reference.png.
Workflow inputs, three-layer SHA-256 checks, glibc runners, log hardening and licensing.
Insert a step referencing qrcode-ai-com/qrcode-barcode-scanner-action@v1 (or pin to a full commit SHA) after actions/checkout, supplying workspace globs in files and optional target strings in expected. View the official entry on GitHub Marketplace.
No. It pulls the official qrscan release archive anonymously over HTTPS, needs no extra repository permissions and requires neither a QR Code AI account nor an API key.
It verifies the fetched SHA256SUMS file against its pinned digest, checks the release archive against SHA256SUMS and verifies the extracted qrscan binary against its pinned digest. Any mismatch aborts the step before execution.
GitHub-hosted Linux (x64 and arm64 with glibc 2.28 or newer), macOS (Apple silicon and Intel) and Windows x64. Alpine and other musl Linux containers are rejected before any download begins.
fail-on defaults to missing (fails whenever an expected payload is not found). Set no-code to fail on matched files containing zero codes as well, or never for reporting only. Unreadable files, patterns matching zero files and runtime faults always fail the step.
It never launches decoded links, emits decoded values strictly as JSON strings with GitHub workflow commands disabled around output, and escapes all decoded strings in the job summary.
Yes. Both the action repository and current qrscan releases are free and MIT-licensed (with retained Apache-2.0 notices for two reader components). CI scanning never consumes QR Code AI generation credits or paid plans.
Check the official listing and README for workflow options, runner limits and supported formats.