{"id":20359999,"url":"https://github.com/fred78290/aws-codeartifact-delete-package-versions","last_synced_at":"2026-05-08T02:19:57.011Z","repository":{"id":65157695,"uuid":"484706954","full_name":"Fred78290/aws-codeartifact-delete-package-versions","owner":"Fred78290","description":"Deletes one or more versions of a package from AWS codeartifacts","archived":false,"fork":false,"pushed_at":"2022-10-31T09:34:48.000Z","size":423,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T11:41:39.498Z","etag":null,"topics":["aws","codeartifact","delete-package-versions","deletepackageversions","github-actions","package","package-management"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fred78290.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-23T09:46:35.000Z","updated_at":"2022-04-24T17:28:36.000Z","dependencies_parsed_at":"2023-01-04T12:33:28.544Z","dependency_job_id":null,"html_url":"https://github.com/Fred78290/aws-codeartifact-delete-package-versions","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"5c5323c0cb670cdd86f98a2f6e5b97b167500f63"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fred78290%2Faws-codeartifact-delete-package-versions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fred78290%2Faws-codeartifact-delete-package-versions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fred78290%2Faws-codeartifact-delete-package-versions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fred78290%2Faws-codeartifact-delete-package-versions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fred78290","download_url":"https://codeload.github.com/Fred78290/aws-codeartifact-delete-package-versions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241896191,"owners_count":20038666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","codeartifact","delete-package-versions","deletepackageversions","github-actions","package","package-management"],"created_at":"2024-11-14T23:37:08.071Z","updated_at":"2025-12-03T04:06:07.058Z","avatar_url":"https://github.com/Fred78290.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-codeartifact-delete-package-versions\n\nRequired: `aws-actions/configure-aws-credentials`\n\nDeletes one or more versions of a package from AWS codeartifacts. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived\n\n## `domain`\n\nThe name of the domain that contains the package to delete.\n\n### `domain-owner`\n\nThe 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.\n\n## `region`\n\nAWS CodeArtifact Region.\n\n## `repository`\n\nThe name of the repository that contains the package versions to delete.\n\n## `format`\n\nThe format of the package versions to delete. The valid values are:\n\n- npm\n- pypi\n- maven\n- nuget\n\n## `namespace`\n\nThe namespace of the package. The package component that specifies its namespace depends on its type. For example:\n\n- The namespace of a Maven package is its groupId .\n- The namespace of an npm package is its scope .\n- A Python package does not contain a corresponding component, so Python packages do not have a namespace.\n\n## `package`\n\nThe name of the package with the versions to delete.\n\n## `versions`\n\nAn array of strings that specify the versions of the package to delete.\n\n### Example\n\n```yml\nTest:\n  runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Configure AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::*****\n          aws-region: us-east-1\n          \n      - name: aws-codeartifact-delete-package-versions\n        uses: Fred78290/aws-codeartifact-delete-package-versions@v****\n        with:\n          domain: release\n          domain-owner: 123456789012\n          region: us-east-1\n          repository: fred78290\n          format: maven\n          namespace: com.example.groupid\n          package: sample\n          versions: |\n            1.0.0\n            1.0.1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffred78290%2Faws-codeartifact-delete-package-versions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffred78290%2Faws-codeartifact-delete-package-versions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffred78290%2Faws-codeartifact-delete-package-versions/lists"}