Validate expected payloads
Combine files globs and expected strings with fail-on: missing (default) so a damaged QR code on a poster or webpage blocks the build.
Spot faulty labels, absent payloads and unreadable image exports automatically before changes merge or release.
Combine files globs and expected strings with fail-on: missing (default) so a damaged QR code on a poster or webpage blocks the build.
Read result, compact report JSON (schema qrcode-barcode-scanner-action/1), complete report-path with base64 raw bytes and qrscan-path.
Uses profile: full and budget-ms: 0 (no time limit) by default for repeatable CI outcomes, keeping workflow commands turned off around log lines.
Create a known reference image, run the workflow step and check the decoded value character by character.
Create a text QR code encoding https://qrcode-ai.com/ and save the file 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 writes pass to steps.codes.outputs.result.
Sample output for qr-reference.png.
Workflow inputs, three-layer SHA-256 verification, glibc runners, log safety and licensing.
Insert a step using qrcode-ai-com/qrcode-barcode-scanner-action@v1 (or pin to a full commit SHA) right after actions/checkout, supplying repository globs in files along with optional strings in expected. View the entry on GitHub Marketplace.
No. It fetches the official qrscan release archive anonymously over HTTPS, requires no extra workflow permissions and needs neither a QR Code AI account nor an API key.
It validates 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 discrepancy stops the step before running.
GitHub-hosted Linux (x64 and arm64 running glibc 2.28 or newer), macOS (Apple silicon and Intel) and Windows x64. Alpine and other musl-based Linux containers are rejected prior to download.
fail-on defaults to missing (failing whenever an expected payload is absent). Choose no-code to also fail on matched images with zero codes, or never to report without failing. Unreadable files, patterns matching zero files and runtime faults always fail the step.
It never opens decoded URLs, prints decoded text solely as JSON strings with GitHub workflow commands turned off around them, and escapes every decoded value inside the job summary.
Yes. Both the action source and current qrscan archives are free and MIT-licensed (with Apache-2.0 notices retained for two reader modules). CI verification never draws on QR Code AI generation credits or paid plans.
Refer to the official marketplace entry and README for setup details, runner limits and supported formats.