You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using delete-package-versions as part of a reusable workflow that I call from others. It works as long as my reusable workflow and the calling workflow are in the same repo as the package is hosted. But when I try to call it from a workflow in a different repo (owned by the same account), it fails with Error: get versions API failed. Resource not accessible by integration
The actual publish works correctly, but for some reason the delete-package-versions step fails when it's cross-repo. I've enabled read-write permissions on the repos.
The text was updated successfully, but these errors were encountered:
I know this is an old issue, but if anyone else stumbles across this, check your repo's settings: Actions -> Workflow settings -> Read and write permissions
I'm using
delete-package-versions
as part of a reusable workflow that I call from others. It works as long as my reusable workflow and the calling workflow are in the same repo as the package is hosted. But when I try to call it from a workflow in a different repo (owned by the same account), it fails withError: get versions API failed. Resource not accessible by integration
Here's my reusable workflow:
Here's an example of calling that workflow:
The actual publish works correctly, but for some reason the
delete-package-versions
step fails when it's cross-repo. I've enabled read-write permissions on the repos.The text was updated successfully, but these errors were encountered: