{"id":15099302,"url":"https://github.com/actions/publish-immutable-action","last_synced_at":"2025-06-11T11:18:48.419Z","repository":{"id":251963488,"uuid":"720199320","full_name":"actions/publish-immutable-action","owner":"actions","description":"A GitHub Action used for publishing an Action to ghcr.io as an OCI container. ","archived":false,"fork":false,"pushed_at":"2024-11-08T22:14:42.000Z","size":4031,"stargazers_count":87,"open_issues_count":17,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-07T21:07:40.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-17T19:56:57.000Z","updated_at":"2025-06-04T13:12:05.000Z","dependencies_parsed_at":"2024-08-19T16:43:01.808Z","dependency_job_id":"2422d2b1-8ba9-4e08-8e17-bea876d50df7","html_url":"https://github.com/actions/publish-immutable-action","commit_stats":{"total_commits":140,"total_committers":8,"mean_commits":17.5,"dds":0.5428571428571429,"last_synced_commit":"3fc9aa365f739ac53e8e72d09cfd6c7475c2f4e2"},"previous_names":["actions/publish-immutable-action"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fpublish-immutable-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fpublish-immutable-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fpublish-immutable-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fpublish-immutable-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actions","download_url":"https://codeload.github.com/actions/publish-immutable-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions%2Fpublish-immutable-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258777198,"owners_count":22756065,"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":[],"created_at":"2024-09-25T17:09:50.541Z","updated_at":"2025-06-11T11:18:48.361Z","avatar_url":"https://github.com/actions.png","language":"TypeScript","readme":"# Publish Immutable Action\n\n\u003e [!IMPORTANT]\n\u003e This action is **not ready for public use**. It is part of an upcoming public roadmap item (see [GitHub Actions: Immutable actions publishing](https://github.com/github/roadmap/issues/592)).\n\u003e Attempts to use this action to upload an OCI artifact will not work until this feature has been fully released to the public. Please do not attempt to use it until that time.\n\nThis action packages _your action_ as an [OCI container](https://opencontainers.org/) and publishes it to the [GitHub Container registry](https://ghcr.io).\nThis allows your action to be consumed as an _immutable_ package if a [SemVer](https://semver.org/) is specified in the consumer's workflow file.\n\nYour workflow can be triggered by any [event](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows) which has a `GITHUB_REF` that points to a Git tag.\nSome examples of these events are:\n\n- [`release`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release) (uses tag associated with release)\n- [`push`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push) (only applies to pushed tags)\n- [`workflow_dispatch`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch) (only applies if subject of dispatch is a tag)\n\nThe associated tag must follow [semantic versioning](https://semver.org/) - this tag value will be used to create a package version.\n\nConsumers of your action will then be able to specify that version to consume your action from the package, e.g.\n\n- `- uses: your-name/your-action@v1.2.3`\n- `- uses: your-name/your-action@v1`\n\nSuch packages will come with stronger security guarantees for consumers than existing git-based action resolution, such as:\n\n- Provenance attestations generated using the [`@actions/attest`](https://github.com/actions/toolkit/tree/main/packages/attest) package\n- Tag immutability - it will not be possible to overwrite tags once published, ensuring versions of an action can't change once in use\n- Namespace immutability - it will not be possible to delete and recreate the package with different content; this would undermine tag immutability\n\n## Usage\n\nAn actions workflow file like the following should be placed in your action repository:\n\n\u003c!-- start usage --\u003e\n```yaml\nname: \"Publish Immutable Action Version\"\n\non:\n  release:\n    types: [published]\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      id-token: write\n      packages: write\n    steps:\n    - name: Check out repo\n      uses: actions/checkout@v4\n    - name: Publish\n      id: publish\n      uses: actions/publish-immutable-action@0.0.3\n```\n\u003c!-- end usage --\u003e\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE).\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions%2Fpublish-immutable-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factions%2Fpublish-immutable-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions%2Fpublish-immutable-action/lists"}