Skip to content

Commit ac2e7c3

Browse files
feat: add automated UX check
1 parent 89b087b commit ac2e7c3

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ux-review.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: UX demo review
2+
3+
on:
4+
# TEMPORARY: using pull_request to test from this branch before merge.
5+
# REVERT to pull_request_target before merging
6+
pull_request:
7+
types: [labeled]
8+
9+
# Restrictive default for the whole workflow; the job below elevates only what it needs.
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
ux-review:
15+
# TEMPORARY: calling the reusable workflow from the upstream
16+
# "feat-reusable-workflow" branch for testing before it lands on main.
17+
# REVERT to a pinned commit SHA on main before merging for supply-chain safety.
18+
uses: canonical/automated-ux-qa-checklist-and-quality-standards/.github/workflows/ux-demo-review.yml@feat-reusable-workflow
19+
if: "github.event.label.name == 'Review: UX needed'"
20+
with:
21+
pr_number: "${{ github.event.pull_request.number }}"
22+
# Run the skills repo scripts from the same upstream branch.
23+
ref: feat-reusable-workflow
24+
secrets:
25+
COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }}
26+
permissions:
27+
contents: read
28+
pull-requests: write

0 commit comments

Comments
 (0)