Skip to content

Commit dfe92b0

Browse files
MishaKavgithub-actions[bot]actions-userdependabot[bot]yeelali14
authored
Linbee-18264 align v2 lite (#360)
* bump to (#173) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#176) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#178) Save output to files on error Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#179) Ensure callback returns are consistent Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#180) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group across 1 directory with 6 updates (#181) * Bump the npm-development group across 1 directory with 6 updates Bumps the npm-development group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) | `29.5.13` | `29.5.14` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.5.5` | `22.9.0` | | [@vercel/ncc](https://github.com/vercel/ncc) | `0.38.1` | `0.38.2` | | [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) | `28.8.3` | `28.9.0` | | [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) | `2.16.0` | `2.18.1` | | [typescript](https://github.com/microsoft/TypeScript) | `5.6.2` | `5.6.3` | Updates `@types/jest` from 29.5.13 to 29.5.14 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Updates `@types/node` from 22.5.5 to 22.9.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@vercel/ncc` from 0.38.1 to 0.38.2 - [Release notes](https://github.com/vercel/ncc/releases) - [Commits](vercel/ncc@0.38.1...0.38.2) Updates `eslint-plugin-jest` from 28.8.3 to 28.9.0 - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v28.8.3...v28.9.0) Updates `eslint-plugin-jsonc` from 2.16.0 to 2.18.1 - [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md) - [Commits](ota-meshi/eslint-plugin-jsonc@v2.16.0...v2.18.1) Updates `typescript` from 5.6.2 to 5.6.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.6.2...v5.6.3) --- updated-dependencies: - dependency-name: "@types/jest" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: "@vercel/ncc" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint-plugin-jsonc dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> * Bump dependencies in package.json for @actions/core, @typescript-eslint/eslint-plugin, and eslint * Ignore updates for eslint and @typescript-eslint packages in dependabot configuration * Update eslint-plugin-github to version 5.0.2 and add it to ESLint configuration --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * bump to (#182) Improved yaml validations Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#185) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#187) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#190) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#194) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#196) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#198) - add custom filters to validators - add `readFile` function to cm files Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#199) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#200) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#201) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#203) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#205) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#207) remove async filter calls when automation is not passed Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#208) - add memoization to internal async calls Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#210) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#214) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump `@linearb/gitstream-core` to `2.1.88` (#215) * bump dev dependencies in package.json --------- Co-authored-by: Misha Kav <misha.kav@gmail.com> Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump @types/node from 22.10.2 to 22.10.5 in the npm-development group (#216) Bumps the npm-development group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `@types/node` from 22.10.2 to 22.10.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#218) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group with 3 updates (#222) Bumps the npm-development group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint-plugin-github](https://github.com/github/eslint-plugin-github) and [typescript](https://github.com/microsoft/TypeScript). Updates `@types/node` from 22.10.5 to 22.10.6 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-github` from 5.1.4 to 5.1.5 - [Release notes](https://github.com/github/eslint-plugin-github/releases) - [Commits](github/eslint-plugin-github@v5.1.4...v5.1.5) Updates `typescript` from 5.7.2 to 5.7.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.7.2...v5.7.3) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: eslint-plugin-github dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#223) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#224) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group with 3 updates (#225) * bump to (#227) added new premium feature of `AI_DescribePR` (available only for paid users) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#228) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump undici from 5.28.4 to 5.28.5 (#226) * Bump undici from 5.28.4 to 5.28.5 Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v5.28.4...v5.28.5) --- updated-dependencies: - dependency-name: undici dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * empty commit * rebuild after package update * bump @types/node to version 22.10.9 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * bump to (#229) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group with 2 updates (#230) Bumps the npm-development group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc). Updates `@types/node` from 22.10.9 to 22.10.10 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-jsonc` from 2.18.2 to 2.19.1 - [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md) - [Commits](ota-meshi/eslint-plugin-jsonc@v2.18.2...v2.19.1) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: eslint-plugin-jsonc dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#231) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#232) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group with 2 updates (#233) * Bump the npm-development group with 2 updates Bumps the npm-development group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [eslint-plugin-github](https://github.com/github/eslint-plugin-github). Updates `@types/node` from 22.10.10 to 22.13.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-github` from 5.1.5 to 5.1.7 - [Release notes](https://github.com/github/eslint-plugin-github/releases) - [Commits](github/eslint-plugin-github@v5.1.5...v5.1.7) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint-plugin-github dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> * Update binary files in dist directory --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * bump to (#234) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group with 3 updates (#235) Bumps the npm-development group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint-plugin-github](https://github.com/github/eslint-plugin-github) and [prettier](https://github.com/prettier/prettier). Updates `@types/node` from 22.13.0 to 22.13.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-github` from 5.1.7 to 5.1.8 - [Release notes](https://github.com/github/eslint-plugin-github/releases) - [Commits](github/eslint-plugin-github@v5.1.7...v5.1.8) Updates `prettier` from 3.4.2 to 3.5.0 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.4.2...3.5.0) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: eslint-plugin-github dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#239) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group with 2 updates (#242) Bumps the npm-development group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [prettier](https://github.com/prettier/prettier). Updates `@types/node` from 22.13.1 to 22.13.4 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `prettier` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.5.0...3.5.1) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @octokit/endpoint from 9.0.5 to 9.0.6 (#240) * Bump @octokit/endpoint from 9.0.5 to 9.0.6 Bumps [@octokit/endpoint](https://github.com/octokit/endpoint.js) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/octokit/endpoint.js/releases) - [Commits](octokit/endpoint.js@v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: "@octokit/endpoint" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Update dist/index.js with new binary changes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * Bump @octokit/request-error from 5.1.0 to 5.1.1 (#238) * Bump @octokit/request-error from 5.1.0 to 5.1.1 Bumps [@octokit/request-error](https://github.com/octokit/request-error.js) from 5.1.0 to 5.1.1. - [Release notes](https://github.com/octokit/request-error.js/releases) - [Commits](octokit/request-error.js@v5.1.0...v5.1.1) --- updated-dependencies: - dependency-name: "@octokit/request-error" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Update binary file dist/index.js --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * bump to (#244) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#247) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#248) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump @octokit/request from 8.4.0 to 8.4.1 (#245) * Bump @octokit/request from 8.4.0 to 8.4.1 Bumps [@octokit/request](https://github.com/octokit/request.js) from 8.4.0 to 8.4.1. - [Release notes](https://github.com/octokit/request.js/releases) - [Commits](octokit/request.js@v8.4.0...v8.4.1) --- updated-dependencies: - dependency-name: "@octokit/request" dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Update dist/index.js with new binary changes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * bump to (#250) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#252) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#254) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#255) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#258) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#259) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * LINBEE-14851 - Add checkout step for CM organization in action.yml (#260) * Add checkout step for cm organization in action.yml * Refactor checkout conditions in action.yml and update variable handling in get-condition-vars.js * lint * Update path for cm organization in action.yml --------- Co-authored-by: Yeela Lifshitz <yeelalifshitz@Yeela-MacBook-Pro.local> * bump to (#262) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#263) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#264) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#266) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#267) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#269) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#272) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#275) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#277) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#278) * bump to (#279) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#281) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#282) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group across 1 directory with 7 updates (#280) * Bump the npm-development group across 1 directory with 7 updates Bumps the npm-development group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.13.4` | `22.14.1` | | [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) | `2.19.1` | `2.20.0` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.2.3` | `5.2.6` | | [prettier](https://github.com/prettier/prettier) | `3.5.1` | `3.5.3` | | [prettier-eslint](https://github.com/prettier/prettier-eslint) | `16.3.0` | `16.3.2` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.2.5` | `29.3.2` | | [typescript](https://github.com/microsoft/TypeScript) | `5.7.3` | `5.8.3` | Updates `@types/node` from 22.13.4 to 22.14.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-jsonc` from 2.19.1 to 2.20.0 - [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md) - [Commits](ota-meshi/eslint-plugin-jsonc@v2.19.1...v2.20.0) Updates `eslint-plugin-prettier` from 5.2.3 to 5.2.6 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.2.3...v5.2.6) Updates `prettier` from 3.5.1 to 3.5.3 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.5.1...3.5.3) Updates `prettier-eslint` from 16.3.0 to 16.3.2 - [Release notes](https://github.com/prettier/prettier-eslint/releases) - [Changelog](https://github.com/prettier/prettier-eslint/blob/master/CHANGELOG.md) - [Commits](prettier/prettier-eslint@v16.3.0...v16.3.2) Updates `ts-jest` from 29.2.5 to 29.3.2 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.2.5...v29.3.2) Updates `typescript` from 5.7.3 to 5.8.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](microsoft/TypeScript@v5.7.3...v5.8.3) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.14.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint-plugin-jsonc dependency-version: 2.20.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint-plugin-prettier dependency-version: 5.2.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: prettier dependency-version: 3.5.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: prettier-eslint dependency-version: 16.3.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: ts-jest dependency-version: 29.3.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: typescript dependency-version: 5.8.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> * Update dependencies in package-lock.json to latest versions --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * bump to (#283) develop Co-authored-by: GitHub Actions Bot <actions@github.com> * Add create-tag and update-v2-tag scripts; enhance GitHub workflows for versioning and auto-deploy [skip ci] (#285) * bump to (#284) develop Co-authored-by: GitHub Actions Bot <actions@github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * Update ticket description format and simplify PR description handling in bump-gitstream-core workflow (#286) * bump to (#288) Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group across 1 directory with 2 updates (#290) Bumps the npm-development group with 2 updates in the / directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier). Updates `@types/node` from 22.14.1 to 22.15.5 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-prettier` from 5.2.6 to 5.4.0 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.2.6...v5.4.0) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.15.5 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint-plugin-prettier dependency-version: 5.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the npm-development group with 2 updates (#292) Bumps the npm-development group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [prettier-eslint](https://github.com/prettier/prettier-eslint). Updates `@types/node` from 22.15.5 to 22.15.17 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `prettier-eslint` from 16.4.1 to 16.4.2 - [Release notes](https://github.com/prettier/prettier-eslint/releases) - [Changelog](https://github.com/prettier/prettier-eslint/blob/master/CHANGELOG.md) - [Commits](prettier/prettier-eslint@v16.4.1...v16.4.2) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.15.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: prettier-eslint dependency-version: 16.4.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#291) Co-authored-by: GitHub Actions Bot <actions@github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * Update dependabot schedule to weekly and remove changelog file [skip ci] (#294) * Update dependabot schedule to weekly and remove changelog file * Update binary file dist/index.js * Bump the npm-development group with 3 updates (#295) * Bump the npm-development group with 3 updates Bumps the npm-development group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) and [ts-jest](https://github.com/kulshekhar/ts-jest). Updates `@types/node` from 22.15.17 to 22.15.18 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-jsonc` from 2.20.0 to 2.20.1 - [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md) - [Commits](ota-meshi/eslint-plugin-jsonc@v2.20.0...v2.20.1) Updates `ts-jest` from 29.3.2 to 29.3.4 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.3.2...v29.3.4) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.15.18 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: eslint-plugin-jsonc dependency-version: 2.20.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: ts-jest dependency-version: 29.3.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> * Update binary file dist/index.js --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * Bump @types/node from 22.15.18 to 22.15.19 in the npm-development group (#296) Bumps the npm-development group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `@types/node` from 22.15.18 to 22.15.19 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.15.19 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#297) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#298) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#299) Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump @types/node from 22.15.19 to 22.15.21 in the npm-development group (#300) Bumps the npm-development group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `@types/node` from 22.15.19 to 22.15.21 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.15.21 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#301) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#304) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#305) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#306) Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump the npm-development group with 3 updates (#302) Bumps the npm-development group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) and [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier). Updates `@types/node` from 22.15.21 to 22.15.29 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `eslint-plugin-jest` from 28.11.0 to 28.12.0 - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v28.11.0...v28.12.0) Updates `eslint-plugin-prettier` from 5.4.0 to 5.4.1 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.4.0...v5.4.1) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.15.29 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development - dependency-name: eslint-plugin-jest dependency-version: 28.12.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: eslint-plugin-prettier dependency-version: 5.4.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#307) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#308) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#309) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#311) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#316) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#318) Co-authored-by: GitHub Actions Bot <actions@github.com> * Linbee 17477 gitstream failing due to an error with multiple remote branches (#321) * fix: update checkout command to use upstream reference for head branch * fix: correct checkout command to use proper syntax for upstream reference * fix: streamline checkout process by removing redundant commands * fix: update checkout commands to correctly reference base and head branches * fix: remove redundant checkout commands for base and head branches * fix: enhance checkout process by configuring default remote and ensuring proper branch checkouts * Bump the npm-development group across 1 directory with 3 updates (#317) Bumps the npm-development group with 3 updates in the / directory: [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier), [prettier](https://github.com/prettier/prettier) and [ts-jest](https://github.com/kulshekhar/ts-jest). Updates `eslint-plugin-prettier` from 5.4.1 to 5.5.0 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.4.1...v5.5.0) Updates `prettier` from 3.5.3 to 3.6.0 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.5.3...3.6.0) Updates `ts-jest` from 29.3.4 to 29.4.0 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.3.4...v29.4.0) --- updated-dependencies: - dependency-name: eslint-plugin-prettier dependency-version: 5.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: prettier dependency-version: 3.6.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development - dependency-name: ts-jest dependency-version: 29.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @types/node from 22.15.30 to 24.0.7 (#326) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.30 to 24.0.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.0.7 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#327) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#328) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#331) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#332) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#334) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#335) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#337) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#339) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#340) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#341) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#342) Co-authored-by: GitHub Actions Bot <actions@github.com> * Bump @types/node from 24.0.7 to 24.0.13 in the npm-development group (#345) Bumps the npm-development group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `@types/node` from 24.0.7 to 24.0.13 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 24.0.13 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @jest/globals from 29.7.0 to 30.0.4 (#343) Bumps [@jest/globals](https://github.com/jestjs/jest/tree/HEAD/packages/jest-globals) from 29.7.0 to 30.0.4. - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v30.0.4/packages/jest-globals) --- updated-dependencies: - dependency-name: "@jest/globals" dependency-version: 30.0.4 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * Bump jest and @types/jest (#344) Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together. Updates `jest` from 29.7.0 to 30.0.4 - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v30.0.4/packages/jest) Updates `@types/jest` from 29.5.14 to 30.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) --- updated-dependencies: - dependency-name: jest dependency-version: 30.0.4 dependency-type: direct:development update-type: version-update:semver-major - dependency-name: "@types/jest" dependency-version: 30.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * bump to (#347) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#348) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#349) Co-authored-by: GitHub Actions Bot <actions@github.com> * bump to (#350) Co-authored-by: GitHub Actions Bot <actions@github.com> * Linbee 18079 gitstream action release notes [skip ci] (#351) * Extract purpose from PR description for release notes in GitHub Actions workflow * Comment out the step to create and push a new tag in the GitHub Actions workflow * Update .github/workflows/create-tag-on-merge.yml Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com> * Fix release notes extraction and update output variable names in GitHub Actions workflow * Comment out deployment steps in GitHub Actions workflow for debugging * Refine release notes extraction to include content between gitstream placeholders and update output format * Uncomment tag creation and release steps in GitHub Actions workflow * Uncomment condition for auto-deployment in GitHub Actions workflow * Add step to update v2-lite branch after creating a new tag * Enhance release notes extraction to prioritize CHANGELOG section and support new format --------- Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com> * Bump form-data from 4.0.2 to 4.0.4 [skip ci] (#352) * Bump form-data from 4.0.2 to 4.0.4 Bumps [form-data](https://github.com/form-data/form-data) from 4.0.2 to 4.0.4. - [Release notes](https://github.com/form-data/form-data/releases) - [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md) - [Commits](form-data/form-data@v4.0.2...v4.0.4) --- updated-dependencies: - dependency-name: form-data dependency-version: 4.0.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Add reviewer input to bump-gitstream-core workflow and update brace-expansion versions * Update dist/index.js with new build artifacts --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Misha Kav <misha.kav@gmail.com> * bump to (#354) Co-authored-by: GitHub Actions Bot <actions@github.com> * Refactor release notes creation to use printf for safer handling of special characters (#355) * Set GitHub Actions Bot user configuration for commits [skip ci] (#356) * Set GitHub Actions Bot user configuration for commits * Fix email configuration for GitHub Actions Bot in workflows * Update GitHub Actions Bot email configuration to use 'actions@github.com' * bump to (#358) Co-authored-by: GitHub Actions Bot <actions@github.com> * Update licenses.txt to reflect changes in license information [skip ci] * bump to (#359) Co-authored-by: GitHub Actions Bot <actions@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions Bot <actions@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yeela Lifshitz <52451294+yeelali14@users.noreply.github.com> Co-authored-by: Yeela Lifshitz <yeelalifshitz@Yeela-MacBook-Pro.local> Co-authored-by: gitstream-cm[bot] <111687743+gitstream-cm[bot]@users.noreply.github.com>
1 parent f86eced commit dfe92b0

File tree

8 files changed

+186
-45
lines changed

8 files changed

+186
-45
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ updates:
33
- package-ecosystem: github-actions
44
directory: /
55
schedule:
6-
interval: daily
6+
interval: weekly
77
groups:
88
actions-minor:
99
update-types:
@@ -24,3 +24,7 @@ updates:
2424
dependency-type: production
2525
update-types:
2626
- patch
27+
ignore:
28+
- dependency-name: 'eslint'
29+
- dependency-name: '@typescript-eslint/eslint-plugin'
30+
- dependency-name: '@typescript-eslint/parser'

.github/linters/.eslintrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ parserOptions:
2525

2626
plugins:
2727
- jest
28+
- github
2829
- '@typescript-eslint'
2930

3031
extends:

.github/workflows/bump-gitstream-core.yml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,25 @@ on:
66
workflow_dispatch:
77
inputs:
88
version:
9-
description: Version number (ex. "2.1.20")
9+
description: Version number (ex. "2.1.133")
1010
required: true
11-
default: 2.1.20
11+
default: 2.1.133
1212
ticket:
13-
description: LINBEE-XXXX ticket number
13+
description: LINBEE-XXXXX ticket number
1414
default: LINBEE-8514
1515
required: false
1616
description:
1717
description: Add a description for this version
1818
required: false
19+
auto-deploy:
20+
description: Add label "auto-deploy" to PR
21+
required: false
22+
type: boolean
23+
default: true
24+
reviewer:
25+
description: GitHub username to assign as reviewer
26+
required: false
27+
1928
jobs:
2029
publish_pr:
2130
name: Publish PR
@@ -27,6 +36,18 @@ jobs:
2736
run: |
2837
echo "VERSION=${{ inputs.version }}" >> "$GITHUB_ENV"
2938
echo "BRANCH_NAME=${{ inputs.ticket }}-bump-gitstream-core-to-${{ inputs.version }}" >> "$GITHUB_ENV"
39+
echo "LABEL_ARG=" >> "$GITHUB_ENV"
40+
echo "REVIEWER_ARG=" >> "$GITHUB_ENV"
41+
42+
- name: Set auto-deploy label
43+
if: inputs.auto-deploy
44+
run: |
45+
echo "LABEL_ARG=--label auto-deploy" >> "$GITHUB_ENV"
46+
47+
- name: Set reviewer
48+
if: inputs.reviewer
49+
run: |
50+
echo "REVIEWER_ARG=--reviewer ${{ inputs.reviewer }}" >> "$GITHUB_ENV"
3051
3152
- name: Init npmrc
3253
run: |
@@ -42,15 +63,14 @@ jobs:
4263
env:
4364
GH_TOKEN: ${{ github.token }}
4465
run: |
45-
echo -e "Bump \`@linearb/gitstream-core\` to \`${{ env.VERSION }}\`\n\n${{ inputs.description }}" > pr_description.txt
66+
echo -e "${{ inputs.description }}" > pr_description.txt
4667
git config --global user.name 'GitHub Actions Bot'
4768
git config --global user.email 'actions@github.com'
4869
git add package.json package-lock.json dist/index.js
49-
git commit -m "bump `@linearb/gitstream-core` to `${{ env.VERSION }}`" -m "${{ inputs.description }}"
70+
git commit -m "bump `@linearb/gitstream-core` to `${{ env.VERSION }}`"
5071
git push origin HEAD:${{ env.BRANCH_NAME }}
5172
gh pr create \
5273
--base develop \
5374
--title "Bump \`@linearb/gitstream-core\` to \`${{ env.VERSION }}\`" \
5475
--body-file pr_description.txt \
55-
--head ${{ env.BRANCH_NAME }} \
56-
--reviewer ${{ github.actor }}
76+
--head ${{ env.BRANCH_NAME }} ${{ env.REVIEWER_ARG }} ${{ env.LABEL_ARG }}
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
name: Create Tag on merge
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- develop
8+
paths:
9+
- src/**
10+
- dist/**
11+
- package*.json
12+
13+
jobs:
14+
create-tag:
15+
runs-on: ubuntu-24.04
16+
timeout-minutes: 15
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v4
21+
with:
22+
node-version-file: .nvmrc
23+
24+
- name: Create and push new tag
25+
run: npm run create-tag
26+
27+
- name: Get latest commit
28+
id: get-commit
29+
run: echo "LAST_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
30+
31+
- name: Check for associated pull request and auto-deploy label
32+
id: should-deploy
33+
uses: actions/github-script@v7
34+
with:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}
36+
script: |
37+
const { owner, repo } = context.repo;
38+
const commit_sha = '${{ env.LAST_SHA }}';
39+
const { data: prs } = await github.rest.repos.listPullRequestsAssociatedWithCommit({ commit_sha, owner, repo });
40+
if (prs?.length > 0) {
41+
const pull_number = prs[0].number;
42+
const { data: pr } = await github.rest.pulls.get({ owner, repo, pull_number });
43+
44+
// Extract content from PR description - prioritize CHANGELOG if present
45+
let releaseNote = pr.title;
46+
47+
if (pr.body) {
48+
// First, check for __CHANGELOG__ section
49+
const changelogMatch = pr.body.match(/__CHANGELOG__\s*(.*?)\s*_Generated by LinearB AI/s);
50+
51+
if (changelogMatch) {
52+
releaseNote = changelogMatch[1].trim();
53+
} else {
54+
// Fallback to original gitstream placeholder extraction
55+
const contentMatch = pr.body.match(/<!--start_gitstream_placeholder-->.*?### ✨ PR Description\s*(.*?)\s*_Generated by LinearB AI.*?<!--end_gitstream_placeholder-->/s);
56+
57+
if (contentMatch) {
58+
releaseNote = contentMatch[1].trim();
59+
} else {
60+
// New format without gitstream placeholders
61+
const newFormatMatch = pr.body.match(/## ✨ PR Description\s*(.*?)\s*(?:__CHANGELOG__|_Generated by LinearB AI)/s);
62+
63+
if (newFormatMatch) {
64+
releaseNote = newFormatMatch[1].trim();
65+
}
66+
}
67+
}
68+
}
69+
70+
core.setOutput('pr-title', pr.title);
71+
core.setOutput('release-notes', releaseNote);
72+
core.setOutput('pr-number', pr.number);
73+
74+
return pr.labels.some(label => label.name.includes('auto-deploy'));
75+
}
76+
return false;
77+
78+
- name: Create GitHub Release & Deploy
79+
if: steps.should-deploy.outputs.result == 'true'
80+
env:
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82+
run: |
83+
# Create release notes using printf to handle special characters safely
84+
printf "## What's Changed\n\n%s in [#%s](https://github.com/${{ github.repository }}/pull/%s)\n\n%s\n" \
85+
"${{ steps.should-deploy.outputs.pr-title }}" \
86+
"${{ steps.should-deploy.outputs.pr-number }}" \
87+
"${{ steps.should-deploy.outputs.pr-number }}" \
88+
"${{ steps.should-deploy.outputs.release-notes }}" > release_notes.md
89+
90+
gh release create $NEW_TAG --notes-file release_notes.md
91+
git checkout $NEW_TAG
92+
npm run update-v2-tag
93+
94+
- name: Update v2-lite
95+
if: steps.should-deploy.outputs.result == 'true'
96+
env:
97+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98+
run: |
99+
git config --global user.name 'GitHub Actions Bot'
100+
git config --global user.email 'actions@github.com'
101+
git checkout v2-lite
102+
git checkout $NEW_TAG package.json package-lock.json dist/
103+
git add package.json package-lock.json dist/
104+
git commit -m "Update v2-lite to $NEW_TAG"
105+
git push origin v2-lite

CHANGELOG.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

action.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ runs:
8989
IS_NON_COMMIT_ARG: ${{ fromJSON(fromJSON(inputs.client_payload)).isNonCommitEvent }}
9090
ENABLE_CACHE_ARG: ${{ env.ENABLE_CACHE }}
9191
RUN_ID_ARG: ${{ fromJSON(fromJSON(inputs.client_payload)).artifactRunId }}
92+
CACHE_DOWNLOAD_FAILED_ARG: ${{ env.CACHE_DOWNLOAD_FAILED }}
9293
with:
9394
script: |
9495
require('${{ github.action_path }}/scripts/get-condition-vars.js')(core);
@@ -126,11 +127,12 @@ runs:
126127
script: require('${{ github.action_path }}/scripts/check-cache-download-status')(core);
127128

128129
- name: Checkout Pull Request branches history
129-
if: ${{ env.SKIP_GIT_CLONE == 'false' || env.CACHE_DOWNLOAD_FAILED == 'true' }}
130+
if: ${{ env.SHOULD_CHECKOUT == 'true' }}
130131
shell: bash
131132
run: |
132133
ALL=1
133134
cd gitstream && cd repo
135+
git config checkout.defaultRemote origin
134136
git fetch --deepen=$ALL origin $'${{ steps.safe-strings.outputs.base_ref }}'
135137
git remote add upstream $'${{ steps.safe-strings.outputs.url }}'
136138
git fetch --deepen=$ALL upstream $'${{ steps.safe-strings.outputs.head_ref }}'
@@ -139,18 +141,26 @@ runs:
139141
git checkout $'${{ steps.safe-strings.outputs.head_ref }}'
140142
141143
- name: Create cm folder
142-
if: ${{ env.SKIP_GIT_CLONE == 'false' || env.CACHE_DOWNLOAD_FAILED == 'true' }}
144+
if: ${{ env.SHOULD_CHECKOUT == 'true' }}
143145
shell: bash
144146
run: cd gitstream && mkdir cm
145147

146148
- name: Checkout cm repo
147149
uses: actions/checkout@v4
148-
if: ${{ fromJSON(fromJSON(inputs.client_payload)).hasCmRepo == true && (env.SKIP_GIT_CLONE == 'false' || env.CACHE_DOWNLOAD_FAILED == 'true')}}
150+
if: ${{ fromJSON(fromJSON(inputs.client_payload)).hasCmRepo == true && env.SHOULD_CHECKOUT == 'true'}}
149151
with:
150152
repository: '${{ fromJSON(fromJSON(inputs.client_payload)).owner }}/${{ fromJSON(fromJSON(inputs.client_payload)).cmRepo }}'
151153
ref: ${{ fromJSON(fromJSON(inputs.client_payload)).cmRepoRef }}
152154
path: gitstream/cm/
153155

156+
- name: Checkout cm org
157+
uses: actions/checkout@v4
158+
if: ${{ fromJSON(fromJSON(inputs.client_payload)).hasCmOrg == true && env.SHOULD_CHECKOUT == 'true'}}
159+
with:
160+
repository: 'cm/cm'
161+
ref: ${{ fromJSON(fromJSON(inputs.client_payload)).cmOrgRef }}
162+
path: gitstream/cm/
163+
154164
- name: Volume folder
155165
shell: bash
156166
run: mv gitstream code

scripts/get-condition-vars.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/* eslint-disable import/no-commonjs */
22

33
module.exports = core => {
4-
const { IS_NON_COMMIT_ARG, ENABLE_CACHE_ARG, RUN_ID_ARG } = process.env
4+
const {
5+
IS_NON_COMMIT_ARG,
6+
ENABLE_CACHE_ARG,
7+
RUN_ID_ARG,
8+
CACHE_DOWNLOAD_FAILED
9+
} = process.env
510
try {
611
const isRunIdExists = !!RUN_ID_ARG
712

@@ -12,10 +17,14 @@ module.exports = core => {
1217

1318
core.exportVariable('IS_NON_COMMIT_EVENT', IS_NON_COMMIT_ARG)
1419
core.exportVariable('SKIP_GIT_CLONE', skipGitClone.toString())
20+
21+
const shouldCheckout = !skipGitClone || CACHE_DOWNLOAD_FAILED === 'true'
22+
core.exportVariable('SHOULD_CHECKOUT', shouldCheckout.toString())
1523
} catch (error) {
1624
core.warn(`Failed to get condition variables: ${error.message}`)
1725

1826
core.exportVariable('IS_NON_COMMIT_EVENT', 'false')
1927
core.exportVariable('SKIP_GIT_CLONE', 'false')
28+
core.exportVariable('SHOULD_CHECKOUT', 'true')
2029
}
2130
}

scripts/tag-version.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
git fetch --tags
4+
5+
# Get the latest tag
6+
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
7+
8+
# Check if the latest tag starts with 'v' and remove it
9+
if [[ $latest_tag == v* ]]; then
10+
latest_tag=${latest_tag:1}
11+
fi
12+
13+
# Split the latest tag into an array
14+
IFS='.' read -r -a version_parts <<< "$latest_tag"
15+
16+
# Bump the patch version
17+
new_tag="${version_parts[0]}.${version_parts[1]}.$((version_parts[2] + 1))"
18+
19+
# Create and push the new tag
20+
git tag $new_tag
21+
git push origin $new_tag
22+
echo "new_tag=$new_tag"
23+
24+
echo "new_tag=$new_tag" >> $GITHUB_OUTPUT
25+
echo "NEW_TAG=$new_tag" >> $GITHUB_ENV

0 commit comments

Comments
 (0)