From 99e35a8ca39a73c73541ae0778cbc14a6c3bde36 Mon Sep 17 00:00:00 2001 From: Daniel Mundra Date: Thu, 30 May 2024 16:11:03 -0700 Subject: [PATCH 1/3] Delete .github/workflows/pre-commit.yml --- .github/workflows/pre-commit.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml deleted file mode 100644 index 70177619..00000000 --- a/.github/workflows/pre-commit.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: pre-commit - -on: - pull_request: - -jobs: - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - persist-credentials: false - - uses: actions/setup-python@v5 - # Skip checks that don't auto-fix issues initially. - - uses: pre-commit/action@v3.0.1 - env: - SKIP: remark,check-yaml,check-json,check-added-large-files - with: - token: ${{ secrets.GITHUB_TOKEN }} - # Final run without committing to ensure passes. - - uses: pre-commit/action@v3.0.1 - env: - # We skip checks that have their own actions. - SKIP: remark. From fcb181d7b76e94911b61a008db6b79841b8f6490 Mon Sep 17 00:00:00 2001 From: Daniel Mundra Date: Thu, 30 May 2024 16:13:20 -0700 Subject: [PATCH 2/3] Update README.md --- .github/workflows/README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 1da92512..48fe2572 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -16,10 +16,6 @@ The pa11y-ci commands can also be run locally to generate the same test results: Run remark-lint with reviewdog on pull requests to check for readibility and other text checks. -## pre-commit.yml - -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. - ## backlog-issues.yml Automatically place new/reopened issues in to the project board. From 68c517d9e64a2c14b650b755a0d3e6e065ce4fde Mon Sep 17 00:00:00 2001 From: Daniel Mundra Date: Fri, 31 May 2024 07:44:44 -0700 Subject: [PATCH 3/3] Removed a11ywatch and added auto update action. Updated readme. --- .github/workflows/README.md | 8 ++++---- .github/workflows/a11ywatch.yml | 31 ------------------------------- .github/workflows/auto-update.yml | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/a11ywatch.yml create mode 100644 .github/workflows/auto-update.yml diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 48fe2572..a04b68a8 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -30,10 +30,6 @@ This pipeline requires a personal access token or organizational one with the ke Run Cypress tests with Axe to check accessibility of the site with axe by interacting with the menu, search, and with different screen sizes. -## a11ywatch.yml - -Run a11ywatch GitHub action to check accessibility of the site. - ## accessibility-alt-text-bot.yml This action reminds users to add a meaningful alternative text to their images. @@ -42,6 +38,10 @@ This action reminds users to add a meaningful alternative text to their images. This action checks content links for issues using https://github.com/gjtorikian/html-proofer. +## auto-update.yml + +Updating branch that is configured to auto-merge. + # References * https://github.com/pa11y/pa11y diff --git a/.github/workflows/a11ywatch.yml b/.github/workflows/a11ywatch.yml deleted file mode 100644 index 61c0eae0..00000000 --- a/.github/workflows/a11ywatch.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: a11ywatch - -on: [pull_request] - -jobs: - build: - name: Building site and running a11ywatch - runs-on: ubuntu-latest - - steps: - - name: Checkout source. - uses: actions/checkout@v4 - - - name: Install jekyll site dependencies. - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.3 - bundler-cache: true - - - name: Install npm dependencies. - run: npm ci - - - name: Start up jekyll server. - run: bundle exec jekyll serve --detach -c _config.yml,_config_local.yml - - - uses: a11ywatch/github-action@v2.1.10 - with: - WEBSITE_URL: http://localhost:4000 - SITE_WIDE: true - SITEMAP: true - LIST: true diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml new file mode 100644 index 00000000..ca8862f6 --- /dev/null +++ b/.github/workflows/auto-update.yml @@ -0,0 +1,14 @@ +name: Updating branch that is configured to auto-merge +on: + push: + branches: + - master + +jobs: + Auto: + name: Auto-update + runs-on: ubuntu-latest + steps: + - uses: tibdex/auto-update@v2 + with: + github_token: ${{ secrets.GH_TOKEN }}