Skip to content

Commit 0ac56a8

Browse files
[DELENG-365] Add catalog workflow to use whitelisted SHA
Creates catalog.yml to use the whitelisted SHA 436c9e4b from service-catalog PR #113 with proper documentation. This ensures the workflow uses the pantheon-service-catalog WIF pool with production credentials for both main and master branches. Ticket: DELENG-365
1 parent 40a97fc commit 0ac56a8

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/catalog.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Catalog
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches:
8+
- main
9+
permissions:
10+
contents: "read"
11+
packages: "read"
12+
id-token: "write"
13+
jobs:
14+
docs:
15+
if: "!contains(github.ref_name, '/')"
16+
# SHA: 436c9e4b5ba68282956ffa169ae714827cf49bc5
17+
# Source: service-catalog PR #113 merge commit (main branch, 2026-02-23)
18+
# Whitelisted in: projects/pantheon-wif/workload-identity-federation.tf
19+
# See: https://github.com/pantheon-systems/gce-terraform/blob/master/projects/pantheon-wif/workload-identity-federation.tf#L106
20+
uses: pantheon-systems/service-catalog/.github/workflows/docs-like-code.yaml@436c9e4b5ba68282956ffa169ae714827cf49bc5 # main @ Feb 23, 2026
21+
catalog-upload:
22+
if: "!contains(github.ref_name, '/')"
23+
# SHA: 436c9e4b5ba68282956ffa169ae714827cf49bc5
24+
# Source: service-catalog PR #113 merge commit (main branch, 2026-02-23)
25+
# This SHA is whitelisted in the pantheon-service-catalog WIF pool for production classification
26+
# Whitelist location: projects/pantheon-wif/workload-identity-federation.tf (attribute.jwr_repo_file_env)
27+
# See: https://github.com/pantheon-systems/gce-terraform/blob/master/projects/pantheon-wif/workload-identity-federation.tf#L106
28+
uses: pantheon-systems/service-catalog/.github/workflows/catalog-upload.yaml@436c9e4b5ba68282956ffa169ae714827cf49bc5 # main @ Feb 23, 2026

0 commit comments

Comments
 (0)