-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): migrate workflows-crossplane to hops-ops@v3.2.0 #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,7 +28,7 @@ permissions: | |
|
|
||
| jobs: | ||
| validate: | ||
| uses: unbounded-tech/workflows-crossplane/.github/workflows/validate.yaml@v3.0.0 | ||
| uses: hops-ops/workflows-crossplane/.github/workflows/validate.yaml@v3.2.0 | ||
| with: | ||
| examples: | | ||
| [ | ||
|
|
@@ -55,10 +55,10 @@ jobs: | |
| error_on_missing_schemas: true | ||
|
|
||
| test: | ||
| uses: unbounded-tech/workflows-crossplane/.github/workflows/test.yaml@v3.0.0 | ||
| uses: hops-ops/workflows-crossplane/.github/workflows/test.yaml@v3.2.0 | ||
|
|
||
| e2e: | ||
| uses: unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@v3.0.0 | ||
| uses: hops-ops/workflows-crossplane/.github/workflows/e2e.yaml@v3.2.0 | ||
| with: | ||
| aws: true | ||
| aws-use-oidc: true | ||
|
|
@@ -88,7 +88,7 @@ jobs: | |
| needs: | ||
| - validate | ||
| - test | ||
| uses: unbounded-tech/workflows-crossplane/.github/workflows/publish.yaml@v3.0.0 | ||
| uses: hops-ops/workflows-crossplane/.github/workflows/publish.yaml@v3.2.0 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🛡️ Analyzed with Security Review | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -e
printf '%s\n' '--- workflow call sites ---'
sed -n '75,100p' .github/workflows/on-pr.yaml
sed -n '1,25p' .github/workflows/on-version-tagged.yaml
printf '%s\n' '--- relevant workflow inputs and secrets in repository ---'
rg -n -C 4 'publish\.yaml|secrets: inherit|ghcr_user|GH_PAT' .github/workflowsRepository: hops-ops/aws-crossplane-stack Length of output: 2423 🏁 Script executed: #!/bin/bash
set -e
url='https://raw.githubusercontent.com/hops-ops/workflows-crossplane/v3.2.0/.github/workflows/publish.yaml'
curl --fail --silent --show-error "$url" | sed -n '1,220p'Repository: hops-ops/aws-crossplane-stack Length of output: 4296 🏁 Script executed: #!/bin/bash
set -e
printf '%s\n' '--- on-pr trigger and permissions ---'
sed -n '1,35p' .github/workflows/on-pr.yamlRepository: hops-ops/aws-crossplane-stack Length of output: 908 Sensitive Data Exposure Reachability: External Do not inherit all secrets for these publish calls. Remove 🧰 Tools🪛 zizmor (1.29.0)[warning] 91-91: secrets unconditionally inherited by called workflow (secrets-inherit): this reusable workflow (secrets-inherit) 📍 Affects 2 files
🤖 Prompt for AI Agents |
||
| secrets: inherit | ||
| with: | ||
| tag: pr-${{ github.event.pull_request.number }}-${{ github.sha }} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🛡️ Analyzed with Security Review | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: hops-ops/aws-crossplane-stack
Length of output: 7220
🏁 Script executed:
Repository: hops-ops/aws-crossplane-stack
Length of output: 2453
🏁 Script executed:
Repository: hops-ops/aws-crossplane-stack
Length of output: 268
Security Misconfiguration
Reachability: External
Exploitability: Difficult
CWE: CWE-494 — Download of Code Without Integrity Check
Pin all eight reusable workflows to commit
9ba141bbd0cd3acbb4ed78804686c221ac526b90instead of the mutablev3.2.0tag.This prevents the referenced workflows from changing without review.
📍 Affects 3 files
.github/workflows/on-pr.yaml#L31-L31(this comment).github/workflows/on-pr.yaml#L58-L58.github/workflows/on-pr.yaml#L61-L61.github/workflows/on-pr.yaml#L91-L91.github/workflows/on-push-main.yaml#L26-L26.github/workflows/on-push-main.yaml#L53-L53.github/workflows/on-push-main.yaml#L56-L56.github/workflows/on-version-tagged.yaml#L15-L15🤖 Prompt for AI Agents