Skip to content

[0.4] Disable GitHub workflows that use secrets to prevent supply chain attacks - #1421

Merged
tdas merged 2 commits into
unitycatalog:branch-0.4from
openinx:backport-security-workflows-branch-0.4
Mar 25, 2026
Merged

tdas merged 2 commits into
unitycatalog:branch-0.4from
openinx:backport-security-workflows-branch-0.4

Conversation

@openinx

@openinx openinx commented Mar 25, 2026 •

Copy link
Copy Markdown
Collaborator

Backport of #1420 to branch-0.4.

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 does not exist in branch-0.4 and is 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
backport.yml BACKPORT_ACTION_TOKEN — fully removed due to pull_request_target risk
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:28
@openinx
openinx force-pushed the backport-security-workflows-branch-0.4 branch from e194b6a to 85d0c37 Compare March 25, 2026 21:30
@openinx openinx changed the title [Backport branch-0.4] Disable GitHub workflows that use secrets to prevent supply chain attacks [0.4] Disable GitHub workflows that use secrets to prevent supply chain attacks Mar 25, 2026
@tdas
tdas merged commit d8831e3 into unitycatalog:branch-0.4 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