From 43ee00cacacd834c23d2a798a1bd6672ecba6b14 Mon Sep 17 00:00:00 2001 From: yaythomas Date: Thu, 19 Nov 2026 22:28:13 +0000 Subject: [PATCH] ci: add PR status labels and bump issue triage Add the shared PR status labels workflow from CI v0.7.0. It adds needs-review to a new pull request whose author has no write access, and replaces changes-requested with needs-review when the author pushes or the pull request is marked ready for review. Move issue triage from CI v0.5.0 to v0.7.0. The model API rejects the uniqueItems keyword in the v0.5.0 response schema, so new issues get only the fallback needs-triage label. v0.7.0 drops the keyword and skips needs-triage on issues labeled project. --- .github/workflows/issue-triage.yml | 2 +- .github/workflows/pr-status-labels.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pr-status-labels.yml diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 181965237..f04f07a5b 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -12,7 +12,7 @@ jobs: contents: read id-token: write issues: write - uses: aws/aws-durable-execution-ci/.github/workflows/issue-triage.yml@8a06a1e5c82083a9224af9d489ddd030be44d978 # v0.5.0 + uses: aws/aws-durable-execution-ci/.github/workflows/issue-triage.yml@c28fdc7df300996309e282ee6bfe54658ba53351 # v0.7.0 with: # CodeBuild-hosted runner in the Java testing account; the label must # match the CodeBuild project name. diff --git a/.github/workflows/pr-status-labels.yml b/.github/workflows/pr-status-labels.yml new file mode 100644 index 000000000..5e818b530 --- /dev/null +++ b/.github/workflows/pr-status-labels.yml @@ -0,0 +1,14 @@ +name: PR Status Labels + +on: + pull_request_target: + types: [opened, reopened, ready_for_review, synchronize] + +permissions: {} + +jobs: + pr-status-labels: + permissions: + contents: read + pull-requests: write + uses: aws/aws-durable-execution-ci/.github/workflows/pr-status-labels.yml@c28fdc7df300996309e282ee6bfe54658ba53351 # v0.7.0