Skip to content
Open
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
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
target-branch: "main"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
target-branch: "main"
directory: "/"
schedule:
interval: "weekly"
9 changes: 0 additions & 9 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# Workflows

## backlog-issues.yaml

Automatically place new/reopened issues in to the project board.

## pre-commit.yaml

Run pre-commit hooks to clean up site based on configurations in .pre-commit-config.yaml include searching and replacing smart quotes defined in .pre-commit-search-and-replace.yaml.

## tests.yaml

Run our tests when we submit a pull request.
Expand All @@ -23,4 +15,3 @@ Tests HTML output using pa11y-ci and axe.
# References

- https://github.blog/2021-04-28-use-github-actions-manage-docs/#why-use-github-actions-for-project-management
- https://pre-commit.com/
5 changes: 4 additions & 1 deletion .github/workflows/a11y.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: OpenACR output accessibility testing
permissions:
contents: read
pull-requests: write

on:
pull_request:
Expand All @@ -10,7 +13,7 @@ jobs:

steps:
- name: Checkout source.
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install dependencies.
run: npm ci
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/backlog-issues.yaml

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Deploy
permissions:
contents: write
pull-requests: write

on:
pull_request:
Expand All @@ -15,13 +18,13 @@ jobs:

steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
persist-credentials: false
- run: sed -i 's/{% render %}/render/g' openacr/uswds/README.md
- run: sed -i 's/{% include %}/include/g' openacr/uswds/README.md
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
uses: JamesIves/github-pages-deploy-action@v4.6.4
with:
BRANCH: gh-pages
FOLDER: openacr
7 changes: 5 additions & 2 deletions .github/workflows/openacr-export.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: OpenACR Export
permissions:
contents: read
pull-requests: write

on:
pull_request:
Expand All @@ -10,10 +13,10 @@ jobs:

steps:
- name: Checkout source.
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Download output.
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: openacr-export
path: |
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/pre-commit.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: tests
permissions:
contents: read
pull-requests: write

on:
pull_request:
Expand All @@ -10,7 +13,7 @@ jobs:

steps:
- name: Checkout source.
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install dependencies.
run: npm ci
Expand Down
5 changes: 4 additions & 1 deletion .pa11yci
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"runners": ["axe"],
"ignore": [
"color-contrast"
]
],
"chromeLaunchConfig": {
"args": ["--disable-dev-shm-usage", "--no-sandbox", "--disable-gpu"]
}
}
}
Loading
Loading