Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to Test PyPI fails #782

Closed
ericwb opened this issue Jan 28, 2022 · 1 comment
Closed

Publish to Test PyPI fails #782

ericwb opened this issue Jan 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ericwb
Copy link
Member

ericwb commented Jan 28, 2022

Describe the bug

Publish to Test PyPI fails with the following error:

pypa/gh-action-pypi-publish@master is not allowed to be used in PyCQA/bandit. Actions in this workflow must be: within a repository owned by PyCQA, created by GitHub or verified in the GitHub Marketplace.

Reproduction steps

1. Click on Actions
2. Manually run the workflow Publish to Test PyPI
3. Notice the error:


pypa/gh-action-pypi-publish@master is not allowed to be used in PyCQA/bandit. Actions in this workflow must be: within a repository owned by PyCQA, created by GitHub or verified in the GitHub Marketplace.


### Expected behavior

Should run without error and publish a binary to the Terst PyPI repository.

### Bandit version

1.7.0 (Default)

### Python version

3.9 (Default)

### Additional context

_No response_
@ericwb ericwb added the bug Something isn't working label Jan 28, 2022
ericwb added a commit that referenced this issue Jan 28, 2022
Avoid using master version of gh-action-pypi-publish. Some orgs such as PyCQA don't permit using
a non-released version of an Action.

Fixes Issue #782
ericwb added a commit that referenced this issue Jan 29, 2022
Avoid using master version of gh-action-pypi-publish. Some orgs such as PyCQA don't permit using
a non-released version of an Action.

Fixes Issue #782
@ericwb
Copy link
Member Author

ericwb commented Jan 29, 2022

Fixed with #784 and #785

@ericwb ericwb closed this as completed Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant