{"id":21301485,"url":"https://github.com/minddocdev/mou-deploy-action","last_synced_at":"2025-06-25T04:32:05.623Z","repository":{"id":55121391,"uuid":"256996289","full_name":"minddocdev/mou-deploy-action","owner":"minddocdev","description":"Deploys applications based on Github deployments","archived":false,"fork":false,"pushed_at":"2021-03-29T09:55:32.000Z","size":65580,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-15T18:32:26.115Z","etag":null,"topics":["github-actions"],"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/minddocdev.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":null,"security":null,"support":null}},"created_at":"2020-04-19T12:41:29.000Z","updated_at":"2022-10-18T06:03:02.000Z","dependencies_parsed_at":"2022-08-14T12:40:23.728Z","dependency_job_id":null,"html_url":"https://github.com/minddocdev/mou-deploy-action","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/minddocdev/mou-deploy-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fmou-deploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fmou-deploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fmou-deploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fmou-deploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minddocdev","download_url":"https://codeload.github.com/minddocdev/mou-deploy-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fmou-deploy-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261805253,"owners_count":23212346,"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":["github-actions"],"created_at":"2024-11-21T15:46:09.871Z","updated_at":"2025-06-25T04:32:05.479Z","avatar_url":"https://github.com/minddocdev.png","language":"TypeScript","readme":"# MOU Deploy Action\n\nCreates a Github deployment, and tells `mou-rest` to deploy, and updates its progress.\n\n[![main](https://github.com/minddocdev/mou-deploy-action/workflows/main/badge.svg)](https://github.com/minddocdev/mou-deploy-action/actions?workflow=main)\n\n## Usage\n\nUse the action to create a release.\n\nFor given tags (automatic tag creation would be disabled):\n\n```yaml\nname: 'myrelease'\non:\n  push:\n    branches:\n      - master\njobs:\n  bump:\n    runs-on: ubuntu-latest\n    env:\n      APP: myapp\n    steps:\n      - name: Checkout git repository\n        uses: actions/checkout@master\n      - name: Bump version and push tag\n        uses: minddocdev/mou-version-action@master\n        id: bump_version\n        with:\n          prefix: ${{ env.APP }}@\n          token: ${{ github.token }}\n      - name: Create Release\n        uses: minddocdev/mou-deploy-action@master\n        with:\n          app: ${{ env.APP }}\n          baseTag: my-production-deployed-tag\n          releaseName: ${{ env.APP }} ${{ steps.bump_version.outputs.version }}\n          releaseTag: ${{ steps.bump_version.outputs.tag }}\n          templatePath: RELEASE_DRAFT/default.md\n          token: ${{ github.token }}\n```\n\nIn the following example, the action will check for the latest published release that matches\n`myapp@` prefix, create a changelog for all the commits that has the `(myapp)` scope,\nand bump the version to `minor`, `major` or `patch` depending on the commit messages and if there\nwas a previous `minor` or `major` bump in the diff with the latest published tag.\n\n```yaml\nname: 'myrelease'\non:\n  push:\n    branches:\n      - master\njobs:\n  bump:\n    runs-on: ubuntu-latest\n    env:\n      APP: myapp\n    steps:\n      - name: Checkout git repository\n        uses: actions/checkout@master\n      - name: Create Release\n        uses: minddocdev/mou-release-action@master\n        with:\n          app: ${{ env.APP }}\n          templatePath: RELEASE_DRAFT/default.md\n          token: ${{ github.token }}\n```\n\n## Options\n\n### Inputs\n\n#### `app`\n\n- name: app\n- required: false\n- description: The name of the app involved in the release.\nCreates tag and render commits for a specific scope, based on the given app name.\nScopes from commits are analyzed for commits that follow the Angular commit style.\ne.g. `\u003ctype\u003e(\u003capp\u003e): my commit title` or `(\u003capp\u003e): my commit title`\n\n#### `baseTag`\n\n- name: baseTag\n- required: false\n- description: The tag that will be used as base for git commit comparison,\ninstead of the automatic detection of latest published release.\nThe commits will be formatted into a Markdown list and replaced into the `$CHANGES`\nvariable for the given `templatePath` template file.\n\n#### `bumpProtection`\n\n- name: bumpProtection\n- required: false\n- default: `false`\n- description: Propose PATCH version bumps whenever a MINOR or MAJOR is detected\nin a diff that had a previous MINOR or MAJOR bump.\nSee [multiple minor and major bump protection](#multiple-minor-and-major-bump-protection).\n\n#### `draft`\n\n- name: draft\n- required: false\n- default: `true`\n- description: Publish release draft.\n\n#### `prerelease`\n\n- name: prerelease\n- required: false\n- default: `true`\n- description: Mark release as prerelease when creating.\n\n#### `pushTag`\n\n- name: pushTag\n- required: false\n- default: `false`\n- description: Creates and pushes the automatic calculated tag before creating the release.\nUseful if you want the action to handle tags for you when publishing drafts.\nBy default, a release draft won't create the tag, which only happens when it is published.\n\n#### `releaseName`\n\n- name: releaseName\n- required: false\n- default: `\u003capp\u003e \u003cversion\u003e`\n- description: The title of the release.\n\n#### `releaseTag`\n\n- name: releaseTag\n- required: true\n- description: The git tag that belongs to the release.\n\n#### `taskBaseUrl`\n\n- name: taskBaseUrl\n- required: false\n- description: The base url to append for a detected task (do not set a trailing `/`).\nBy default, it will create a url based on your Github organization.\n(e.g. `https://myorg.atlassian.net/browse`)\n\n#### `taskPrefix`\n\n- name: taskPrefix\n- required: false\n- default: `JIRA-`\n- description: The prefix that identifies task ids in the commits\n\n#### `templatePath`\n\n- name: templatePath\n- required: true\n- description: The path for the Markdown template that will be used to create the release body,\nrelative to `.github/`.\n\n#### `token`\n\n- name: token\n- required: true\n- description: The token to access Github's API.\n\n### Outputs\n\n#### `changes`\n\n- name: changes\n- description: A JSON array with the list of commit sha that are involved in the release.\n\n#### `new_tag`\n\n- name: new_tag\n- description: The newly created tag that will reference the release.\n\n#### `new_version`\n\n- name: new_version\n- description: The newly created version that belongs to the tag.\n\n#### `html_url`\n\n- name: html_url\n- description: The browser url linking to Github's release.\n\n#### `tasks`\n\n- name: tasks\n- description: A JSON array with the list of project management tasks involved in the release.\n\n#### `previous_tag`\n\n- name: previous_tag\n- description: The previously detected tag that was bumped by the action.\n\n#### `previous_version`\n\n- name: previous_version\n- description: The previously detected version that was bumped by the action.\n\n#### `pull_requests`\n\n- name: pull_requests\n- description: A JSON array with the list of Github pull requests involved in the release.\n\n#### `release_id`\n\n- name: release_id\n- description: The release id given by Github's API.\n\n#### `upload_url`\n\n- name: upload_url\n- description: The url used for uploading release artifacts.\n\n## Development\n\nInstall dependencies\n\n```bash\nyarn npm login --scope minddocdev\nyarn\n```\n\nCompile typescript\n\n```bash\nyarn build\n```\n\nLint code\n\n```bash\nyarn lint\n```\n\nRun the tests\n\n```bash\nyarn test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminddocdev%2Fmou-deploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminddocdev%2Fmou-deploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminddocdev%2Fmou-deploy-action/lists"}