Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# jobs:
# site:
# uses: ScanGov/action/.github/workflows/pages.yml@v1.0.1
# uses: ScanGov/action/.github/workflows/pages.yml@v1.0.3
# with:
# base-path: /my-repo/
# canonical-domain: my-org.github.io
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Build
if: inputs.build-command != ''
run: ${{ inputs.build-command }}
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
site-dir: ${{ inputs.site-dir }}
base-path: ${{ inputs.base-path }}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ build step, published by GitHub Pages at `https://<org>.github.io/<repo>/`.
branches: [main]
jobs:
site:
uses: ScanGov/action/.github/workflows/pages.yml@v1.0.1
uses: ScanGov/action/.github/workflows/pages.yml@v1.0.3
with:
site-dir: .
base-path: /<repo>/
Expand Down Expand Up @@ -65,14 +65,14 @@ go back to report-only.

## Check only some topics

Every input above also works in a plain step with `ScanGov/action@v1.0.1`.
Every input above also works in a plain step with `ScanGov/action@v1.0.3`.
If another tool already covers one of ScanGov's five topics, name the ones
this action should handle. The report shows only those, and Lighthouse runs
only the categories they need. Here an accessibility checker owns that topic
and ScanGov covers the rest, failing on reading level:

```yaml
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
site-dir: _site
canonical-domain: www.example.gov
Expand All @@ -85,7 +85,7 @@ login screen of an app running in the job, name the page and set `topics`
to `none`:

```yaml
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
base-url: http://127.0.0.1:3000
pages: /login/
Expand Down
2 changes: 1 addition & 1 deletion docs/build-step.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
branches: [main]
jobs:
site:
uses: ScanGov/action/.github/workflows/pages.yml@v1.0.1
uses: ScanGov/action/.github/workflows/pages.yml@v1.0.3
with:
build-command: npm ci && npx @11ty/eleventy
site-dir: _site
Expand Down
8 changes: 4 additions & 4 deletions docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ running in the job, point at the server, name the page, and set `topics` to
`none`. Only the performance category runs and the report is the lab table.

```yaml
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
base-url: http://127.0.0.1:3000
pages: /login/
Expand Down Expand Up @@ -101,7 +101,7 @@ accessibility and have this action cover the other four topics:
with:
base-url: http://127.0.0.1:3000

- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
base-url: http://127.0.0.1:3000
pages: /,/services/,/contact/
Expand Down Expand Up @@ -133,7 +133,7 @@ The reusable workflow in the README covers GitHub Pages. To put the audit
inside your own workflow:

```yaml
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
site-dir: _site
canonical-domain: www.example.gov
Expand All @@ -155,7 +155,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- id: scangov
uses: ScanGov/action@v1.0.1
uses: ScanGov/action@v1.0.3
with:
site-dir: .

Expand Down
2 changes: 1 addition & 1 deletion examples/host-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version: 22
- run: npm ci
- run: npm run build
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
site-dir: dist
canonical-domain: www.example.gov
2 changes: 1 addition & 1 deletion examples/pages-eleventy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
node-version: 22
- run: npm ci
- run: npx @11ty/eleventy
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
site-dir: _site
canonical-domain: www.example.gov
Expand Down
2 changes: 1 addition & 1 deletion examples/pages-no-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
site-dir: .
base-path: /my-repo/
Expand Down
2 changes: 1 addition & 1 deletion examples/pages-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
site:
uses: ScanGov/action/.github/workflows/pages.yml@v1.0.1
uses: ScanGov/action/.github/workflows/pages.yml@v1.0.3
with:
site-dir: .
base-path: /my-repo/
Expand Down
2 changes: 1 addition & 1 deletion examples/with-ramp-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# Everything else ScanGov grades from the files. Accessibility is left
# out of topics so Lighthouse skips that category and the report has
# no second opinion on it.
- uses: ScanGov/action@v1.0.1
- uses: ScanGov/action@v1.0.3
with:
base-url: http://127.0.0.1:3000
pages: /,/services/,/contact/
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scangov",
"version": "1.0.1",
"version": "1.0.3",
"description": "Audit a static site against ScanGov standards inside CI, before it deploys.",
"license": "MIT",
"repository": "github:ScanGov/action",
Expand Down
Loading