Skip to content

[0.3] Disable GitHub workflows that use secrets to prevent supply chain attacks - #1423

Merged
tdas merged 1 commit into
unitycatalog:branch-0.3from
openinx:backport-security-workflows-branch-0.3
Mar 25, 2026
Merged

tdas merged 1 commit into
unitycatalog:branch-0.3from
openinx:backport-security-workflows-branch-0.3

Conversation

@openinx

@openinx openinx commented Mar 25, 2026

Copy link
Copy Markdown
Collaborator

Backport of #1420 to branch-0.3.

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

Disables all GitHub Actions workflows that reference secrets (secrets.*) by adding if: false to every job. The original trigger conditions are preserved as commented-out code so they can be restored easily in the future.

Note: publish-snapshot.yml and backport.yml do not exist in branch-0.3 and are not included in this backport.

Affected workflows:

Workflow Secret(s) used
docker-build.yml DOCKERHUB_USERNAME, DOCKERHUB_TOKEN
ui-docker-build.yml DOCKERHUB_USERNAME, DOCKERHUB_TOKEN
publish-swagger-docs.yml GITHUB_TOKEN
auto-assign-issues.yml GITHUB_TOKEN

Why disable instead of delete?

Workflow files that reference secrets are a supply chain attack surface — a malicious PR could trigger them and exfiltrate credentials. Disabling with if: false prevents any execution while keeping the workflow definitions intact for future re-enabling. To restore a workflow, simply remove the if: false line and uncomment the original condition.

@openinx
openinx requested a review from tdas as a code owner March 25, 2026 21:41
@openinx openinx changed the title [Backport branch-0.3] Disable GitHub workflows that use secrets to prevent supply chain attacks [0.3] Disable GitHub workflows that use secrets to prevent supply chain attacks Mar 25, 2026
@openinx
openinx force-pushed the backport-security-workflows-branch-0.3 branch from 3dc845c to 795f60f Compare March 25, 2026 21:44
@tdas
tdas merged commit 07322a4 into unitycatalog:branch-0.3 Mar 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants