From 12f2d3c5ed58449efd43e5e2ca516e535df5d745 Mon Sep 17 00:00:00 2001 From: rgarcia <72655+rgarcia@users.noreply.github.com> Date: Mon, 9 Nov 2026 16:54:11 +0000 Subject: [PATCH] Grant id-token permission for federated model credentials --- .github/workflows/semgrep.yml | 2 ++ .github/workflows/vuln-remediation.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index be6a792..4ebeb41 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -7,6 +7,8 @@ on: permissions: contents: read pull-requests: write + # semgrep exchanges the job's OIDC token for short-lived model credentials. + id-token: write jobs: scan: diff --git a/.github/workflows/vuln-remediation.yml b/.github/workflows/vuln-remediation.yml index 22ee065..35f30c8 100644 --- a/.github/workflows/vuln-remediation.yml +++ b/.github/workflows/vuln-remediation.yml @@ -8,6 +8,8 @@ on: permissions: contents: write pull-requests: write + # vuln-remediation exchanges the job's OIDC token for short-lived model credentials. + id-token: write jobs: remediate: