Skip to content

Commit

Permalink
Change trigger to centralise what we deem frontend changes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdavidhamilton committed Dec 7, 2023
1 parent bba47ec commit 92c86d4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/pa11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ on:
default: dev
merge_group:
pull_request:
types:
- labeled # uses 'review'
- synchronize
paths:
- app/views/**/*.html.slim
- app/javascript/**/*
- app/assets/stylesheets/*

env:
REVIEW_APP: review-pr-${{ github.event.number }}

jobs:
test:
if: contains(github.event.pull_request.labels.*.name, 'review') && contains(github.event.pull_request.labels.*.name, 'frontend')
runs-on: ubuntu-latest
environment: development
env:
Expand Down

0 comments on commit 92c86d4

Please sign in to comment.