Skip to content

add all workflows for gated release#934

Open
shrutiburman wants to merge 3 commits into
mainfrom
test-gated-release
Open

add all workflows for gated release#934
shrutiburman wants to merge 3 commits into
mainfrom
test-gated-release

Conversation

@shrutiburman

Copy link
Copy Markdown
Contributor

Fixes

A short description of what this PR does.

Checklist

  • I acknowledge that all my contributions will be made under the project's license
  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read the Contribution Guidelines and my PR follows them
  • I have titled the PR appropriately
  • I have updated my branch with the main branch
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation about the functionality in the appropriate .md file
  • I have added inline documentation to the code I modified

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

Comment thread .github/deploy.yml
twine check dist/*

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1

@semgrep-code-twilio semgrep-code-twilio Bot Jul 22, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.

🚀 Fixed in commit 8741919 🚀

Comment thread .github/deploy.yml
twine check dist/*

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1

@semgrep-code-twilio semgrep-code-twilio Bot Jul 22, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608.

Fixed in commit 8741919

Comment thread .github/deploy.yml
- name: Authenticate with Artifactory
uses: ./.github/actions/artifactory-oidc

- uses: actions/setup-python@v5

@semgrep-code-twilio semgrep-code-twilio Bot Jul 22, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608.

🍰 Fixed in commit 8741919 🍰

Comment thread .github/deploy.yml
id-token: write
attestations: write
steps:
- uses: actions/checkout@v4

@semgrep-code-twilio semgrep-code-twilio Bot Jul 22, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608.

🥳 Fixed in commit 8741919 🥳

Comment thread .github/deploy.yml
- name: Authenticate with Artifactory
uses: ./.github/actions/artifactory-oidc

- uses: actions/setup-python@v5

@semgrep-code-twilio semgrep-code-twilio Bot Jul 22, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608.

🎈 Fixed in commit 8741919 🎈

Comment thread .github/deploy.yml Outdated
shrutiburman and others added 2 commits July 22, 2026 12:36
Co-authored-by: semgrep-code-twilio[bot] <242513856+semgrep-code-twilio[bot]@users.noreply.github.com>
@shrutiburman

Copy link
Copy Markdown
Contributor Author

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.

1 participant