[Issue #677]: Add pa11y accessibility checks against PR preview env #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI App PR Environment Update | |
on: | |
workflow_dispatch: | |
inputs: | |
pr_number: | |
required: true | |
type: string | |
commit_hash: | |
required: true | |
type: string | |
# !! Uncomment the following lines once you've set up the dev environment and are ready to enable PR environments | |
pull_request: | |
types: ["opened", "reopened", "synchronize"] | |
jobs: | |
update: | |
name: " " # GitHub UI is noisy when calling reusable workflows, so use whitespace for name to reduce noise | |
uses: ./.github/workflows/pr-environment-update.yml | |
with: | |
app_name: "app" | |
environment: "dev" | |
pr_number: ${{ inputs.pr_number || github.event.number }} | |
commit_hash: ${{ inputs.commit_hash || github.event.pull_request.head.sha }} |