Skip to content

🔄 Sync workflows from org defaults#17

Merged
clubanderson merged 1 commit intomainfrom
sync/workflows-from-org
Jan 13, 2026
Merged

🔄 Sync workflows from org defaults#17
clubanderson merged 1 commit intomainfrom
sync/workflows-from-org

Conversation

@clubanderson
Copy link
Copy Markdown
Contributor

This PR syncs the caller workflows from kubestellar/.github.

These workflows call reusable workflows from kubestellar/infra:

  • add-help-wanted.yml
  • assignment-helper.yml
  • feedback.yml
  • greetings.yml
  • label-helper.yml
  • pr-verifier.yml
  • pr-verify-title.yml
  • scorecard.yml

🤖 Auto-generated by workflow sync

@kubestellar-prow kubestellar-prow bot added the dco-signoff: no Indicates the PR's author has not signed the DCO. label Jan 13, 2026
@kubestellar-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow
Copy link
Copy Markdown

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

📝 Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

  • e06f81f 🔄 Sync workflows from kubestellar/.github
Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@kubestellar-prow kubestellar-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 13, 2026
Comment on lines +13 to +14
uses: kubestellar/infra/.github/workflows/reusable-scorecard.yml@main
secrets: inherit

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}

Copilot Autofix

AI 3 months ago

In general, to fix this issue, the workflow or its jobs must declare a permissions: block that limits the GITHUB_TOKEN to the minimum capabilities required. This can be done at the top (workflow) level so it applies to all jobs that don’t override it, or per job.

For this specific file, the best fix with minimal functional change is to add a workflow-level permissions: block just below the on: section. OpenSSF Scorecard typically needs read access to repository contents and security-related metadata; the conservative and commonly recommended baseline is:

permissions:
  contents: read

This grants only read access to repository contents and leaves everything else at none. If the called reusable workflow needs more (for example, security-events: write to upload SARIF to code scanning), that would be configured there; here we just ensure we are not implicitly giving broad write permissions.

Concretely:

  • Edit .github/workflows/scorecard.yml.

  • After the on: block (after line 9 in the provided snippet), insert:

    permissions:
      contents: read
  • Leave the jobs.analysis.uses and secrets: inherit lines unchanged.

No new imports or additional methods are needed because this is purely a YAML configuration change.

Suggested changeset 1
.github/workflows/scorecard.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -8,6 +8,9 @@
     branches: [ "main" ]
   workflow_dispatch:
 
+permissions:
+  contents: read
+
 jobs:
   analysis:
     uses: kubestellar/infra/.github/workflows/reusable-scorecard.yml@main
EOF
@@ -8,6 +8,9 @@
branches: [ "main" ]
workflow_dispatch:

permissions:
contents: read

jobs:
analysis:
uses: kubestellar/infra/.github/workflows/reusable-scorecard.yml@main
Copilot is powered by AI and may make mistakes. Always verify output.
@clubanderson clubanderson merged commit 468e674 into main Jan 13, 2026
3 of 6 checks passed
@kubestellar-prow kubestellar-prow bot deleted the sync/workflows-from-org branch January 13, 2026 16:05
@github-actions
Copy link
Copy Markdown

🎉 Thank you for your contribution! Your PR has been successfully merged.


🌟 Help KubeStellar Grow - We Need Adopters!

Our roadmap is driven entirely by adopter feedback - nothing else. Whether you're using KubeStellar yourself or know organizations that could benefit from multi-cluster Kubernetes, we need your help:

📋 Take our Multi-Cluster Survey - Share your use cases and help shape our direction!

🗣️ Spread the word - Tell colleagues, write blog posts, present at meetups

💬 Share feedback on Slack #kubestellar-dev

Every adopter story helps us prioritize what matters most. Thank you for being part of the KubeStellar community!

@clubanderson clubanderson added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: no Indicates the PR's author has not signed the DCO. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants