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

Error when trying to use PDM Setup GitHub Action #44

Open
sr-murthy opened this issue Nov 4, 2023 · 2 comments
Open

Error when trying to use PDM Setup GitHub Action #44

sr-murthy opened this issue Nov 4, 2023 · 2 comments

Comments

@sr-murthy
Copy link

I'm trying to use the PDM Setup GitHub action in a GitHub workflow in one of my private repos (with Actions permissions to allow all actions from GitHub and verified creators, but I get an error suggesting I can't use it.

Steps to reproduce

Here's the excerpt from my workflow to use PDM setup action

...
- name: Set up PDM
  uses: pdm-project/setup-pdm@v3
...

and here is a screenshot of the Action permissions for this repo:

Screenshot 2023-11-04 at 10 43 04

It's clearly a verified action, so what's the problem?

Actual behavior

CI error:

pdm-project/setup-pdm@v3 is not allowed to be used in sr-murthy/<private repo>. Actions in this workflow must be: within a repository owned by sr-murthy, created by GitHub, or verified in the GitHub Marketplace.

Expected behavior

A successful PDM setup / installation step in the workflow.

Environment Information

N/A

@frostming
Copy link
Contributor

See pdm-project/update-deps-action#3

@sr-murthy
Copy link
Author

Thanks, I'll have a look.

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

No branches or pull requests

2 participants