Skip to content

[Issue #677]: Add pa11y accessibility checks against PR preview env #3

[Issue #677]: Add pa11y accessibility checks against PR preview env

[Issue #677]: Add pa11y accessibility checks against PR preview env #3

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 }}