Skip to content

Cannot read property 'packages' of null #28

@ovidals

Description

@ovidals

Hi!

I'm using the following code to remove old versions from another repository wich is private:

 - uses: actions/delete-package-versions@v1
    with:
      owner: '---'
      repo: '---'
      package-name: '---'
      num-old-versions-to-delete: 1
      token: ${{ secrets.CI_PACKAGES_READ_DELETE_TOKEN }}

I have created a personal access token with read and write packages permissions and stored as secret on the repository that is firing the action, but this error is thrown:

Cannot read property 'packages' of null

Any help on this?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions