setup-pdm icon indicating copy to clipboard operation
setup-pdm copied to clipboard

Error when trying to use PDM Setup GitHub Action

Open sr-murthy opened this issue 1 year ago • 2 comments

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

sr-murthy avatar Nov 04 '23 11:11 sr-murthy

See https://github.com/pdm-project/update-deps-action/issues/3

frostming avatar Jan 25 '24 03:01 frostming

Thanks, I'll have a look.

sr-murthy avatar Jan 25 '24 15:01 sr-murthy