{"id":29077030,"url":"https://github.com/typecode/create-release-pr-action","last_synced_at":"2025-06-27T16:36:17.521Z","repository":{"id":292389092,"uuid":"980215332","full_name":"typecode/create-release-pr-action","owner":"typecode","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-19T22:33:32.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-06-19T23:27:06.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/typecode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-08T18:57:32.000Z","updated_at":"2025-06-19T22:33:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"83e82884-dadf-43e4-bde5-29512b82dcdb","html_url":"https://github.com/typecode/create-release-pr-action","commit_stats":null,"previous_names":["typecode/create-release-pr-action"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/typecode/create-release-pr-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typecode%2Fcreate-release-pr-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typecode%2Fcreate-release-pr-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typecode%2Fcreate-release-pr-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typecode%2Fcreate-release-pr-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typecode","download_url":"https://codeload.github.com/typecode/create-release-pr-action/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typecode%2Fcreate-release-pr-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262294128,"owners_count":23288882,"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":"2025-06-27T16:36:15.087Z","updated_at":"2025-06-27T16:36:17.506Z","avatar_url":"https://github.com/typecode.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create Release PR Action\nA GitHub Action that automates the creation of release pull requests between branches with automatic issue tracking.\n\n## Description\nThis action creates a pull request between specified branches (develop → staging or staging → production) and automatically includes references to issues that were closed in the PRs that are part of this release.\n\n## Features\n- Automatically creates release pull requests between branches\n- Supports both staging and production releases\n- Automatically detects and includes all referenced issues (using close/fix/resolve keywords)\n- Maintains a clean release history by tracking what's being deployed\n\n## Usage\n```yaml\nname: Create Release PR\non:\n  workflow_dispatch:\n    inputs:\n      release_type:\n        description: 'Type of release'\n        required: true\n        default: 'Staging Release'\n        type: choice\n        options:\n        - 'Staging Release'\n        - 'Production Release'\njobs:\n  create-release-pr:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Create Release PR\n        uses: typecode/create-release-pr-action@v1\n        with:\n          release_type: ${{ github.event.inputs.release_type }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Inputs\n| Input | Description | Required | Default |\n|-------|-------------|---------|---------|\n| `release_type` | Type of release (Staging or Production) | Yes | `Staging Release` |\n| `github_token` | GitHub token for authentication | Yes | N/A |\n\n## How It Works\n1. For a Staging Release, the action creates a PR from `develop` to `staging`\n2. For a Production Release, the action creates a PR from `staging` to `production`\n3. The action automatically identifies all PRs merged since the last release\n4. It extracts issue references from these PRs (using keywords like \"closes\", \"fixes\", etc.)\n5. The release PR includes all these references, providing clear tracking of what's being deployed\n\n## Versioning and Updates\nThis action follows semantic versioning with major version tags for easy updates.\n\n### How to Push a Minor Version Update\n\nWhen you need to update the action with new features or bug fixes:\n\n```bash\n# 1. Make your changes and commit them\ngit add .\ngit commit -m \"Add new feature or fix\"\n\n# 2. Create a new specific version tag\ngit tag -a v1.1.0 -m \"Version 1.1.0 with new features\"\n\n# 3. Update the major version tag to point to your latest commit\ngit tag -d v1  # Delete the local tag\ngit tag -a v1 -m \"Version 1 (points to v1.1.0)\"\n\n# 4. Push both tags\ngit push origin v1.1.0\ngit push origin v1 --force  # Force required as you're moving an existing tag\n```\n\n### Automatic Updates\nWhen repositories reference the action using `@v1`, they will automatically receive the latest minor version updates without changes to their workflow files:\n\n```yaml\nuses: typecode/create-release-pr-action@v1  # Always gets latest v1.x.x\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypecode%2Fcreate-release-pr-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypecode%2Fcreate-release-pr-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypecode%2Fcreate-release-pr-action/lists"}