From 2f5196afee6b681513f07e0754a85b73887d4896 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 17 Sep 2026 16:54:47 +0200 Subject: [PATCH] read permissions --- .github/workflows/pr_edit_trigger.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pr_edit_trigger.yaml b/.github/workflows/pr_edit_trigger.yaml index 79fe4e888..cb1e5b6b9 100644 --- a/.github/workflows/pr_edit_trigger.yaml +++ b/.github/workflows/pr_edit_trigger.yaml @@ -13,6 +13,7 @@ on: permissions: pull-requests: write contents: read + models: read jobs: check-pr-trigger: @@ -140,19 +141,17 @@ jobs: issues: read release-notes: - # Temporary debug gate: disable release notes job to isolate trigger behavior. - if: ${{ false }} needs: - check-pr-trigger - detector-labels - # if: >- - # ${{ - # always() && - # ( - # needs.check-pr-trigger.outputs.require_validation == 'false' || - # needs.detector-labels.result == 'success' - # ) - # }} + if: >- + ${{ + always() && + ( + needs.check-pr-trigger.outputs.require_validation == 'false' || + needs.detector-labels.result == 'success' + ) + }} uses: ./.github/workflows/pr_release_notes.yaml with: pr_number: ${{ github.event.pull_request.number }} @@ -160,6 +159,7 @@ jobs: pull-requests: write contents: read issues: write + models: read file-version: needs: