Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: RC v4.8.1 #419

Merged
merged 24 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b453ec9
ci: add `create-release-candidate.yml` workflow (#382)
Zidious Oct 16, 2023
6e87cc1
ci: add release branch check to deploy.yml (#384)
Zidious Oct 16, 2023
c8bcf6e
chore: bump actions/setup-node from 3 to 4 (#386)
dependabot[bot] Nov 1, 2023
be3f242
chore: bump the maven-low-risk group with 8 updates (#387)
dependabot[bot] Nov 1, 2023
226fdce
ci: update the `update-axe-core` workflow (#388)
michael-siek Nov 2, 2023
130483c
chore: remove unused dependency (#395)
Zidious Nov 20, 2023
7abcdd5
ci: remove `.github/workflows/create-release.yml` (#394)
Zidious Nov 20, 2023
9e93d88
chore: merge master -> develop (#399)
Zidious Nov 20, 2023
3b49420
docs: remove broken CircleCI badge (#396)
Zidious Nov 20, 2023
d6f06bb
ci: add `semantic-pr-footer` workflow (#403)
michael-siek Nov 21, 2023
4a6f489
ci: ensure `sync-master-develop.yml` does not skip on merges to `mast…
Zidious Nov 26, 2023
a81ff14
ci: add timeouts to all GHA workflows (#404)
Zidious Nov 27, 2023
3fe2000
ci: remove unused GHA workflow (#406)
Zidious Nov 27, 2023
3c76d58
ci: ensure `snapshot_release` job publishes canary artifacts (#405)
Zidious Nov 27, 2023
f25d322
test: setup JDK matrix to test multiple popular versions (#408)
Zidious Nov 30, 2023
f6c5ab5
chore: bump actions/setup-java from 3 to 4 (#409)
dependabot[bot] Dec 2, 2023
aff6467
chore: bump the maven-low-risk group with 11 updates (#410)
dependabot[bot] Dec 2, 2023
e701429
fix(selenium): apply Selenium 3 and 4 workaround for `switchTo()` whe…
Zidious Dec 6, 2023
e0bfc0f
chore: bump the maven-low-risk group with 1 update (#413)
dependabot[bot] Dec 6, 2023
2dbb3f8
chore: bump actions/setup-python from 4 to 5 (#414)
dependabot[bot] Dec 11, 2023
453dd25
fix: Update axe-core to v4.8.3 (#415)
github-actions[bot] Dec 19, 2023
737e6ed
chore: bump the maven-low-risk group with 5 updates (#416)
dependabot[bot] Jan 3, 2024
6dc03ae
ci: update `prepare_release` script permissions (#418)
michael-siek Jan 9, 2024
26841ea
chore: RC v4.8.1
attest-team-ci Jan 9, 2024
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: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ workflows:
- dependencies_npm
filters:
branches:
only: develop
only:
- develop
- release
- release:
context: html-tools
requires:
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ updates:
maven-low-risk:
update-types:
- "minor"
- "patch"
- "patch"
Empty file modified .github/scripts/prepare_release.sh
100644 → 100755
Empty file.
26 changes: 0 additions & 26 deletions .github/workflows/auto-patch-release.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Create release candidate

on:
workflow_dispatch:
inputs:
version-locked:
type: boolean
description: Prevent this action from creating a minor or major release
default: true

jobs:
create-release-candidate:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: dequelabs/axe-api-team-public/.github/actions/create-release-candidate-v1@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: "master"
head: "develop"
release-script-path: "./.github/scripts/prepare_release.sh"
version-locked: ${{ inputs.version-locked }}
env:
GH_TOKEN: ${{ secrets.GH_PROJECT_TOKEN }}
51 changes: 0 additions & 51 deletions .github/workflows/create-release.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/semantic-pr-footer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Semantic PR footer

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize

jobs:
semantic-pr-footer:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: dequelabs/axe-api-team-public/.github/actions/semantic-pr-footer-v1@main
1 change: 1 addition & 0 deletions .github/workflows/semantic-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ on:
jobs:
semantic-pr-title:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: dequelabs/semantic-pr-title@v1
7 changes: 5 additions & 2 deletions .github/workflows/sync-master-develop.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Sync master/develop branches

on:
pull_request:
types: [closed]
branches: master
types: closed

jobs:
create_sync_pull_request:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
if: github.event.pull_request.merged == 'true'
timeout-minutes: 1
steps:
- uses: dequelabs/action-sync-branches@v1
with:
Expand Down
54 changes: 33 additions & 21 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
name: Tests

on:
push:
branches:
- "**" # all branches
- "!master" # except master
- "!develop" # except develop
on: push

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17]
timeout-minutes: 5
steps:
- uses: actions/checkout@v4

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: "temurin"

- name: Cache npm dependencies
uses: actions/cache@v3
id: npm-cache
Expand All @@ -25,29 +31,27 @@ jobs:
id: maven-cache
with:
path: ~/.m2/repository
key: maven-cache-v1-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
key: maven-cache-v1-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}-${{ matrix.java }}
restore-keys: |
maven-cache-v1-${{ runner.os }}-
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: "8"
distribution: "temurin"
maven-cache-v1-${{ runner.os }}-${{ matrix.java }}

- name: Install Maven dependencies
# https://github.com/actions/cache#skipping-steps-based-on-cache-hit
if: steps.maven-cache.outputs.cache-hit != 'true'
run: mvn clean install -DskipTests

- name: Install NPM dependencies
# https://github.com/actions/cache#skipping-steps-based-on-cache-hit
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
npm install &&
npm --prefix=selenium install &&
npm --prefix=playwright install
npm ci &&
npm --prefix=selenium ci &&
npm --prefix=playwright ci

license-check:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v4
- name: Maven compile licenses
Expand All @@ -60,6 +64,10 @@ jobs:
playwright-tests:
needs: [license-check, build]
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
java: [8, 11, 17]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
Expand All @@ -75,9 +83,9 @@ jobs:
id: maven-cache
with:
path: ~/.m2/repository
key: maven-cache-v1-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
key: maven-cache-v1-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}-${{ matrix.java }}
restore-keys: |
maven-cache-v1-${{ runner.os }}-
maven-cache-v1-${{ runner.os }}-${{ matrix.java }}
- name: Start fixture server
run: npm --prefix=playwright start &
- name: Run Playwright tests
Expand All @@ -86,9 +94,13 @@ jobs:
selenium-tests:
needs: [license-check, build]
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
java: [8, 11, 17]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
- uses: actions/cache@v3
name: Restore npm cache
id: npm-cache
Expand All @@ -102,9 +114,9 @@ jobs:
id: maven-cache
with:
path: ~/.m2/repository
key: maven-cache-v1-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
key: maven-cache-v1-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}-${{ matrix.java }}
restore-keys: |
maven-cache-v1-${{ runner.os }}-
maven-cache-v1-${{ runner.os }}-${{ matrix.java }}
- name: Start fixture server
run: python -m http.server 8001 &
working-directory: selenium/node_modules/axe-test-fixtures/fixtures
Expand Down
34 changes: 4 additions & 30 deletions .github/workflows/update-axe-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,15 @@ on:
- cron: "0 0 * * *"
workflow_dispatch:

#TODO: This entire flow will be replaced with https://github.com/dequelabs/axe-api-team-public/issues/30 once it's ready
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
- id: update
uses: dequelabs/update-axe-core@v1
- id: type
run: |
CommitType=""
if [ "${{ steps.update.outputs.patch_version_updated }}" == "true" ]; then
CommitType="fix"
elif [ "${{ steps.update.outputs.minor_version_updated }}" == "true" ]; then
CommitType="feat"
elif [ "${{ steps.update.outputs.major_version_updated }}" == "true" ]; then
CommitType="feat"
else
echo "No axe-core update available. Cancelling."
gh run cancel ${{ github.run_id }};
gh run watch ${{ github.run_id }};
fi
echo "type=$CommitType" >>"$GITHUB_OUTPUT"
- name: Open PR
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # tag=v5
- uses: dequelabs/axe-api-team-public/.github/actions/create-update-axe-core-pull-request-v1@main
with:
token: ${{ secrets.PAT }}
commit-message: "${{ steps.type.outputs.type }}: Update axe-core to v${{ steps.update.outputs.version }}"
branch: auto-update-axe-core
base: develop
title: "${{ steps.type.outputs.type }}: Update axe-core to v${{ steps.update.outputs.version }}"
body: |
This patch updates version of [`axe-core`](https://npmjs.org/axe-core) to v${{ steps.update.outputs.version }}.

This PR was opened by a robot :robot: :tada:.
token: ${{ secrets.GITHUB_TOKEN }}
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
## [4.8.1](https://github.com/dequelabs/axe-core-maven-html/compare/v4.8.0...v4.8.1) (2024-01-09)


### Bug Fixes

* **selenium:** apply Selenium 3 and 4 workaround for `switchTo()` when using Safari Driver ([#412](https://github.com/dequelabs/axe-core-maven-html/issues/412)) ([e701429](https://github.com/dequelabs/axe-core-maven-html/commit/e70142932a067e6e9f05f74982d6bb5faa043b58))
* skip unloaded iframes ([#330](https://github.com/dequelabs/axe-core-maven-html/issues/330)) ([66ff5bd](https://github.com/dequelabs/axe-core-maven-html/commit/66ff5bdaed903d4dc2f166313a8dd47260c05291)), closes [#323](https://github.com/dequelabs/axe-core-maven-html/issues/323)
* Update axe-core to v4.8.3 ([#415](https://github.com/dequelabs/axe-core-maven-html/issues/415)) ([453dd25](https://github.com/dequelabs/axe-core-maven-html/commit/453dd2541379cae1dfbf1addab16c5dfe6d4a6aa))



# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [4.8.0](https://github.com/dequelabs/axe-core-maven-html/compare/v4.7.0...v4.8.0) (2023-09-27)


### Features

* Update axe-core to v4.8.1 ([#349](https://github.com/dequelabs/axe-core-maven-html/issues/349)) ([bfb4928](https://github.com/dequelabs/axe-core-maven-html/commit/bfb4928a498cd56069b504ed8527e9d7f8311d39))


### Bug Fixes

* **playwright,selenium:** pin axe-core version to accept patch updates only ([#362](https://github.com/dequelabs/axe-core-maven-html/issues/362)) ([0b529fd](https://github.com/dequelabs/axe-core-maven-html/commit/0b529fd43772bffbb28a2317c0e959dc8407807c))
* Update axe-core to v4.8.2 ([#361](https://github.com/dequelabs/axe-core-maven-html/issues/361)) ([29df855](https://github.com/dequelabs/axe-core-maven-html/commit/29df855d0d25f7f08a3f8ac4672b3a2f7290bb7b))

## [4.7.0](https://github.com/dequelabs/axe-core-maven-html/compare/v4.5.1...v4.7.0) (2023-04-26)


Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# axe-core-maven-html

[![CircleCI](https://circleci.com/gh/dequelabs/axe-core-maven-html.svg?style=svg&circle-token=5bd96056d8ab9f52737de9b5d7cc614decbb9819)](https://circleci.com/gh/dequelabs/axe-core-maven-html)
[![Join our Slack chat](https://img.shields.io/badge/slack-chat-purple.svg?logo=slack)](https://accessibility.deque.com/axe-community)

This repository contains 2 packages, which can be used for automated accessibility testing powered by [axe core][axe-core].
Expand Down
27 changes: 0 additions & 27 deletions assembly-descriptor.xml

This file was deleted.

Loading