Add manual publish-to-JFrog workflow for iam-ape#36
Open
yanas-orca wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Adds
.github/workflows/publish-iam-ape.yaml— a workflow that builds and publishes only theiam-apepackage to Orca's JFrog PyPI repo (orca-pypi). Modeled onorcasecurity/orca_textract'spublish.yaml.Design constraints (as requested)
on: workflow_dispatch; no push/tag/PR triggers.workflow_dispatch: GitHub only allows users with Write access to trigger it.working-directory: iam-ape, so no other tool in this repo is built or published.twinetohttps://orcasecurity.jfrog.io/artifactory/api/pypi/orca-pypiusingsecrets.JFROG_RW_USER/secrets.JFROG_RW_PASSWORD, with--skip-existing(safe re-runs).This repo (public) currently has no Actions secrets (0 repo-level, 0 org-scoped). Before the workflow can authenticate, an org admin must add
JFROG_RW_USERandJFROG_RW_PASSWORDto orca-toolbox — either as repo secrets or by scoping the existing org secret to this repo. Exposing read-write artifact creds to a public repo is a deliberate decision; the manual-dispatch-only trigger (no PR/fork exposure) is the mitigation.Usage
Once the secrets exist, bump
iam-ape/pyproject.tomlversion, then run this workflow from the Actions tab to publish — including the interim1.1.7release.