mirror of
https://gitea.com/gitea/runner.git
synced 2026-07-08 08:01:37 +08:00
fix/762-reduce-idle-polling
61 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
68d9fc45c9 |
chore(deps): update dependency @vercel/ncc to ^0.38.0 (#881)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@vercel/ncc](https://github.com/vercel/ncc) | [`^0.24.1` → `^0.38.0`](https://renovatebot.com/diffs/npm/@vercel%2fncc/0.24.1/0.38.4) |  |  | --- ### Release Notes <details> <summary>vercel/ncc (@​vercel/ncc)</summary> ### [`v0.38.4`](https://github.com/vercel/ncc/releases/tag/0.38.4) [Compare Source](https://github.com/vercel/ncc/compare/0.38.3...0.38.4) ##### Bug Fixes - **cjs-build:** enable evaluating import.meta in cjs build ([#​1236](https://github.com/vercel/ncc/issues/1236)) ([e72d34d](https://github.com/vercel/ncc/commit/e72d34d97e7cb2348af19993b6cdb6fec5374ac9)), closes [/github.com/vercel/ncc/pull/897#discussion\_r836916315](https://github.com//github.com/vercel/ncc/pull/897/issues/discussion_r836916315) [#​1019](https://github.com/vercel/ncc/issues/1019) ### [`v0.38.3`](https://github.com/vercel/ncc/releases/tag/0.38.3) [Compare Source](https://github.com/vercel/ncc/compare/0.38.2...0.38.3) ##### Bug Fixes - add missing `--asset-builds` to cli help message ([#​1228](https://github.com/vercel/ncc/issues/1228)) ([84f8c52](https://github.com/vercel/ncc/commit/84f8c52872621be2fe45d7d837f1e4cc06e8a490)) ### [`v0.38.2`](https://github.com/vercel/ncc/releases/tag/0.38.2) [Compare Source](https://github.com/vercel/ncc/compare/0.38.1...0.38.2) ##### Bug Fixes - **deps:** update webpack to v5.94.0, terser to v5.33.0 ([#​1213](https://github.com/vercel/ncc/issues/1213)) ([158a1fd](https://github.com/vercel/ncc/commit/158a1fdcbc32d198a9a0a09d477c9559e7219ed0)), closes [#​1193](https://github.com/vercel/ncc/issues/1193) [#​1194](https://github.com/vercel/ncc/issues/1194) [#​1177](https://github.com/vercel/ncc/issues/1177) [#​1204](https://github.com/vercel/ncc/issues/1204) [#​1195](https://github.com/vercel/ncc/issues/1195) Huge thanks to [@​theoludwig](https://github.com/theoludwig) 🎉 ### [`v0.38.1`](https://github.com/vercel/ncc/releases/tag/0.38.1) [Compare Source](https://github.com/vercel/ncc/compare/0.38.0...0.38.1) ##### Bug Fixes - sourcemap sources removes webpack path ([#​1122](https://github.com/vercel/ncc/issues/1122)) ([ce5984e](https://github.com/vercel/ncc/commit/ce5984e4b07103b4e1123539ebb9fb82daf1344d)), closes [#​1011](https://github.com/vercel/ncc/issues/1011) [#​1121](https://github.com/vercel/ncc/issues/1121) ### [`v0.38.0`](https://github.com/vercel/ncc/releases/tag/0.38.0) [Compare Source](https://github.com/vercel/ncc/compare/0.37.0...0.38.0) ##### Features - Log minification error when `--debug` ([#​1102](https://github.com/vercel/ncc/issues/1102)) ([e2779f4](https://github.com/vercel/ncc/commit/e2779f42031569f9b4b47bb8a302f48ef852405b)) ### [`v0.37.0`](https://github.com/vercel/ncc/releases/tag/0.37.0) [Compare Source](https://github.com/vercel/ncc/compare/0.36.1...0.37.0) ##### Features - add support for TypeScript 5.0's array extends in tsconfig ([#​1105](https://github.com/vercel/ncc/issues/1105)) ([f898f8e](https://github.com/vercel/ncc/commit/f898f8ea85f940208925dfd2e2162b9de8d4843e)) ### [`v0.36.1`](https://github.com/vercel/ncc/releases/tag/0.36.1) [Compare Source](https://github.com/vercel/ncc/compare/0.36.0...0.36.1) ##### Bug Fixes - add missing pr title lint action ([#​1032](https://github.com/vercel/ncc/issues/1032)) ([c2d03cf](https://github.com/vercel/ncc/commit/c2d03cf6dbf24e1f06f9e3f4448b76718a7c44e4)) - add `ncc --version` and `ncc --help` ([#​1030](https://github.com/vercel/ncc/issues/1030)) ([d38b619](https://github.com/vercel/ncc/commit/d38b61955476b960242a540f26c24a994f241185)) ### [`v0.36.0`](https://github.com/vercel/ncc/releases/tag/0.36.0) [Compare Source](https://github.com/vercel/ncc/compare/0.34.0...0.36.0) ##### Bug Fixes - gitignore should include release.config.js ([#​1016](https://github.com/vercel/ncc/issues/1016)) ([44e2eac](https://github.com/vercel/ncc/commit/44e2eac6c966f2f5a2404fcf33a575f2a918ab24)) - node 18 by update source-map used by Terser to 0.7.4 ([#​999](https://github.com/vercel/ncc/issues/999)) ([2f69f83](https://github.com/vercel/ncc/commit/2f69f838aa7387018dc8760b79ae99e613c45874)) ##### Features - add semantic-release to autopublish ([#​1015](https://github.com/vercel/ncc/issues/1015)) ([be3405d](https://github.com/vercel/ncc/commit/be3405dbc36c862d2e79f43478b56bc4dd1df200)), closes [#​1000](https://github.com/vercel/ncc/issues/1000) ### [`v0.34.0`](https://github.com/vercel/ncc/releases/tag/0.34.0) [Compare Source](https://github.com/vercel/ncc/compare/0.33.4...0.34.0) ##### Changes Add support for TS 4.7 - Chore(deps-dev): bump ts-loader from 8.3.0 to 9.3.0: [#​921](https://github.com/vercel/ncc/issues/921) - Chore(deps-dev): bump express from 4.17.1 to 4.18.1: [#​917](https://github.com/vercel/ncc/issues/917) - Chore: add `memory-fs` to the devDependencies: [#​927](https://github.com/vercel/ncc/issues/927) ##### Credits Huge thanks to [@​stscoundrel](https://github.com/stscoundrel) and [@​shogo82148](https://github.com/shogo82148) for helping! ### [`v0.33.4`](https://github.com/vercel/ncc/releases/tag/0.33.4) [Compare Source](https://github.com/vercel/ncc/compare/0.33.3...0.33.4) ##### Changes - Fix: Add missing variable declaration: [#​773](https://github.com/vercel/ncc/issues/773) - Chore: add windows to CI: [#​896](https://github.com/vercel/ncc/issues/896) - Chore: bump webpack-asset-relocator-loader to 1.7.2: [#​912](https://github.com/vercel/ncc/issues/912) - Chore(deps-dev): bump vm2 from 3.9.4 to 3.9.6: [#​872](https://github.com/vercel/ncc/issues/872) - Chore(deps): bump url-parse from 1.5.3 to 1.5.7: [#​875](https://github.com/vercel/ncc/issues/875) - Chore(deps): bump url-parse from 1.5.7 to 1.5.10: [#​879](https://github.com/vercel/ncc/issues/879) - Chore(deps-dev): bump stripe from 8.167.0 to 8.205.0: [#​882](https://github.com/vercel/ncc/issues/882) - Chore(deps-dev): bump typescript from 4.4.2 to 4.6.2: [#​881](https://github.com/vercel/ncc/issues/881) - Chore(deps-dev): bump twilio from 3.66.1 to 3.75.0: [#​884](https://github.com/vercel/ncc/issues/884) - Chore(deps): bump actions/setup-node from 2 to 3: [#​880](https://github.com/vercel/ncc/issues/880) - Chore(deps-dev): bump graphql from 15.5.1 to 15.8.0: [#​885](https://github.com/vercel/ncc/issues/885) - Chore: replace deprecated String.prototype.substr(): [#​894](https://github.com/vercel/ncc/issues/894) - Chore(deps): bump actions/checkout from 2 to 3: [#​902](https://github.com/vercel/ncc/issues/902) - Chore(deps-dev): bump [@​azure/cosmos](https://github.com/azure/cosmos) from 3.12.3 to 3.15.1: [#​905](https://github.com/vercel/ncc/issues/905) - Chore(deps-dev): bump stripe from 8.205.0 to 8.214.0: [#​906](https://github.com/vercel/ncc/issues/906) - Chore(deps-dev): bump [@​google-cloud/bigquery](https://github.com/google-cloud/bigquery) from 5.7.0 to 5.12.0: [#​903](https://github.com/vercel/ncc/issues/903) - Chore(deps-dev): bump tsconfig-paths from 3.10.1 to 3.14.1: [#​904](https://github.com/vercel/ncc/issues/904) ##### Credits Huge thanks to [@​CommanderRoot](https://github.com/CommanderRoot) for helping! ### [`v0.33.3`](https://github.com/vercel/ncc/releases/tag/0.33.3) [Compare Source](https://github.com/vercel/ncc/compare/0.33.2...0.33.3) ##### Patches - Fix: bump license-webpack-plugin: [#​871](https://github.com/vercel/ncc/issues/871) - Chore(deps): bump follow-redirects from 1.14.7 to 1.14.8: [#​870](https://github.com/vercel/ncc/issues/870) ### [`v0.33.2`](https://github.com/vercel/ncc/releases/tag/0.33.2) [Compare Source](https://github.com/vercel/ncc/compare/0.33.1...0.33.2) ##### Patches - Fix: use `sha256` instead of deprecated `md5` for hash algorithm: [#​868](https://github.com/vercel/ncc/issues/868) - Fix: typo in build script: [#​835](https://github.com/vercel/ncc/issues/835) - Chore(test) Add Node.js 16 to CI: [#​801](https://github.com/vercel/ncc/issues/801) - Chore(deps): bump nodemailer from 6.5.0 to 6.7.2: [#​833](https://github.com/vercel/ncc/issues/833) - Chore(deps-dev): bump terser from 5.7.1 to 5.10.0: [#​840](https://github.com/vercel/ncc/issues/840) - Chore(deps-dev): bump passport from 0.4.1 to 0.5.2: [#​839](https://github.com/vercel/ncc/issues/839) - Chore(deps-dev): bump sequelize from 6.6.5 to 6.12.4: [#​843](https://github.com/vercel/ncc/issues/843) - Chore(deps-dev): bump analytics-node from 5.0.0 to 6.0.0: [#​838](https://github.com/vercel/ncc/issues/838) - Chore(deps): bump follow-redirects from 1.14.5 to 1.14.7: [#​846](https://github.com/vercel/ncc/issues/846) - Chore(deps): bump cached-path-relative from 1.0.2 to 1.1.0: [#​854](https://github.com/vercel/ncc/issues/854) - Chore(deps-dev): bump license-webpack-plugin from 2.3.20 to 4.0.1: [#​859](https://github.com/vercel/ncc/issues/859) - Chore(deps): bump simple-get from 3.1.0 to 3.1.1: [#​864](https://github.com/vercel/ncc/issues/864) - Chore(deps-dev): bump aws-sdk from 2.1024.0 to 2.1068.0: [#​867](https://github.com/vercel/ncc/issues/867) ##### Credits Huge thanks to [@​shakefu](https://github.com/shakefu) for helping! ### [`v0.33.1`](https://github.com/vercel/ncc/releases/tag/0.33.1) [Compare Source](https://github.com/vercel/ncc/compare/0.33.0...0.33.1) ##### Patches - Allow configuring mainFields for nccing browser modules: [#​832](https://github.com/vercel/ncc/issues/832) ### [`v0.33.0`](https://github.com/vercel/ncc/releases/tag/0.33.0) [Compare Source](https://github.com/vercel/ncc/compare/0.32.0...0.33.0) ##### Minor Changes - Chore(deps-dev): bump [@​vercel/webpack-asset-relocator-loader](https://github.com/vercel/webpack-asset-relocator-loader): [#​826](https://github.com/vercel/ncc/issues/826) - Fix: Fix source maps: [#​818](https://github.com/vercel/ncc/issues/818) - Feat: Allow using matches from externals for regex matching: [#​825](https://github.com/vercel/ncc/issues/825) ##### Patches - Chore(deps-dev): bump koa from 2.13.1 to 2.13.4: [#​822](https://github.com/vercel/ncc/issues/822) - Chore(deps-dev): bump mariadb from 2.5.4 to 2.5.5: [#​823](https://github.com/vercel/ncc/issues/823) ##### Credits Huge thanks to [@​fenix20113](https://github.com/fenix20113) for helping! ### [`v0.32.0`](https://github.com/vercel/ncc/releases/tag/0.32.0) [Compare Source](https://github.com/vercel/ncc/compare/0.31.1...0.32.0) ##### Changes - Feat: bump to webpack\@​5.61.0: [#​809](https://github.com/vercel/ncc/issues/809) - Docs: add debug command description: [#​800](https://github.com/vercel/ncc/issues/800) - Chore(deps): bump object-path from 0.11.7 to 0.11.8: [#​778](https://github.com/vercel/ncc/issues/778) - Chore(deps): bump tmpl from 1.0.4 to 1.0.5: [#​779](https://github.com/vercel/ncc/issues/779) - Chore(deps-dev): bump vm2 from 3.9.3 to 3.9.4: [#​795](https://github.com/vercel/ncc/issues/795) - Chore(deps-dev): bump axios from 0.21.1 to 0.21.2: [#​810](https://github.com/vercel/ncc/issues/810) - Chore(deps-dev): bump aws-sdk from 2.958.0 to 2.1024.0: [#​812](https://github.com/vercel/ncc/issues/812) - Chore(deps-dev): bump webpack from 5.61.0 to 5.62.1: [#​813](https://github.com/vercel/ncc/issues/813) - Chore(deps): bump passport-oauth2 from 1.5.0 to 1.6.1: [#​811](https://github.com/vercel/ncc/issues/811) - Chore(deps): bump url-parse from 1.5.1 to 1.5.3: [#​815](https://github.com/vercel/ncc/issues/815) ##### Credits Huge thanks to [@​fireairforce](https://github.com/fireairforce) and [@​jesec](https://github.com/jesec) for helping! ### [`v0.31.1`](https://github.com/vercel/ncc/releases/tag/0.31.1) [Compare Source](https://github.com/vercel/ncc/compare/0.31.0...0.31.1) ##### Patches - Fix `tsconfig.json` detection: [#​770](https://github.com/vercel/ncc/issues/770) ### [`v0.31.0`](https://github.com/vercel/ncc/releases/tag/0.31.0) [Compare Source](https://github.com/vercel/ncc/compare/0.30.0...0.31.0) ##### Changes - Fix `compilerOptions` from `tsconfig.json`: [#​766](https://github.com/vercel/ncc/issues/766) - Bump typescript to 4.4.2: [#​767](https://github.com/vercel/ncc/issues/767) - Chore(deps-dev): bump graceful-fs from 4.2.6 to 4.2.8: [#​761](https://github.com/vercel/ncc/issues/761) - Chore(deps): bump tar from 4.4.15 to 4.4.19: [#​763](https://github.com/vercel/ncc/issues/763) - Chore(deps): bump object-path from 0.11.5 to 0.11.7: [#​764](https://github.com/vercel/ncc/issues/764) ### [`v0.30.0`](https://github.com/vercel/ncc/releases/tag/0.30.0) [Compare Source](https://github.com/vercel/ncc/compare/0.29.2...0.30.0) ##### Changes - Major: Change asset builds to opt-in with new option `--asset-builds`: [#​756](https://github.com/vercel/ncc/issues/756) - Chore: bump typescript from 3.9.9 to 4.3.5: [#​739](https://github.com/vercel/ncc/issues/739) - Chore: bump codecov to 3.8.3: [#​752](https://github.com/vercel/ncc/issues/752) ##### Description Previous, `fs.readFile('./asset.js')` would compile `asset.js` instead of including as an asset. With this release, the default behavior has been changed to include `asset.js` as an asset only. If you want the old behavior, you can use the `--asset-builds` option. ##### Credits Huge thanks to [@​guybedford](https://github.com/guybedford) for helping! ### [`v0.29.2`](https://github.com/vercel/ncc/releases/tag/0.29.2) [Compare Source](https://github.com/vercel/ncc/compare/0.29.1...0.29.2) ##### Patches - Fix: ensure nested builds of `__nccwpck_require__`: [#​751](https://github.com/vercel/ncc/issues/751) ##### Credits Huge thanks to [@​guybedford](https://github.com/guybedford) for helping! ### [`v0.29.1`](https://github.com/vercel/ncc/releases/tag/0.29.1) [Compare Source](https://github.com/vercel/ncc/compare/0.29.0...0.29.1) ##### Patches - Fix: add stringify-loader: [#​742](https://github.com/vercel/ncc/issues/742) - Fix: package.json asset type module setting: [#​733](https://github.com/vercel/ncc/issues/733) - Chore(deps): update dependencies: [#​736](https://github.com/vercel/ncc/issues/736) - Chore(deps): bump tar from 4.4.13 to 4.4.15: [#​743](https://github.com/vercel/ncc/issues/743) - Chore(deps): bump path-parse from 1.0.6 to 1.0.7: [#​745](https://github.com/vercel/ncc/issues/745) - Chore(deps-dev): bump pdfkit from 0.12.1 to 0.12.3: [#​740](https://github.com/vercel/ncc/issues/740) ##### Credits Huge thanks to [@​guybedford](https://github.com/guybedford), [@​mmorel-35](https://github.com/mmorel-35), and [@​jpcloureiro](https://github.com/jpcloureiro) for helping! ### [`v0.29.0`](https://github.com/vercel/ncc/releases/tag/0.29.0) [Compare Source](https://github.com/vercel/ncc/compare/0.28.6...0.29.0) ##### Changes - Major: output ESM for `.mjs` or `type=module` builds: [#​720](https://github.com/vercel/ncc/issues/720) - Feat: update to webpack-asset-reloactor-loader\@​1.5.0: [#​718](https://github.com/vercel/ncc/issues/718) - Feat: update to webpack\@​5.42.0: [#​723](https://github.com/vercel/ncc/issues/723) - Feat: update to webpack\@​5.43.0: [#​724](https://github.com/vercel/ncc/issues/724) - Chore: bump set-getter from 0.1.0 to 0.1.1: [#​719](https://github.com/vercel/ncc/issues/719) - Fix: typo in readme: [#​712](https://github.com/vercel/ncc/issues/712) ##### Credits Huge thanks to [@​rethab](https://github.com/rethab) and [@​guybedford](https://github.com/guybedford) for helping! ### [`v0.28.6`](https://github.com/vercel/ncc/releases/tag/0.28.6) [Compare Source](https://github.com/vercel/ncc/compare/0.28.5...0.28.6) ##### Patches - Fix: Update to webpack\@​5.36.2: [#​707](https://github.com/vercel/ncc/issues/707) - Fix: Update ts-loader to fix webpack warning: [#​710](https://github.com/vercel/ncc/issues/710) - Deps: Bump hosted-git-info from 2.8.8 to 2.8.9: [#​708](https://github.com/vercel/ncc/issues/708) ##### Credits Huge thanks to [@​adriencohen](https://github.com/adriencohen) and [@​huozhi](https://github.com/huozhi) for helping! ### [`v0.28.5`](https://github.com/vercel/ncc/releases/tag/0.28.5) [Compare Source](https://github.com/vercel/ncc/compare/0.28.4...0.28.5) ##### Patches - Fix: handle terser error: [#​703](https://github.com/vercel/ncc/issues/703) - Fix: treat compilation.errors as a set: [#​705](https://github.com/vercel/ncc/issues/705) - Fix: unify `target` arg description, add `transpile-only` arg to readme: [#​702](https://github.com/vercel/ncc/issues/702) ##### Credits Huge thanks to [@​guybedford](https://github.com/guybedford) and [@​Simek](https://github.com/Simek) for helping! ### [`v0.28.4`](https://github.com/vercel/ncc/releases/tag/0.28.4) [Compare Source](https://github.com/vercel/ncc/compare/0.28.3...0.28.4) ##### Patches - Fix: Adjust caching to use hashes: [#​698](https://github.com/vercel/ncc/issues/698) - Fix: support top-level await: [#​700](https://github.com/vercel/ncc/issues/700) - Fix: publish should build without cache: [#​701](https://github.com/vercel/ncc/issues/701) - Chore: redis from 2.8.0 to 3.1.1: [#​699](https://github.com/vercel/ncc/issues/699) - Chore: Bump ssri from 6.0.1 to 6.0.2: [#​695](https://github.com/vercel/ncc/issues/695) - Chore: rename master to main: [#​694](https://github.com/vercel/ncc/issues/694) ##### Credits Huge thanks to [@​guybedford](https://github.com/guybedford) for helping! ### [`v0.28.3`](https://github.com/vercel/ncc/releases/tag/0.28.3) [Compare Source](https://github.com/vercel/ncc/compare/0.28.2...0.28.3) ##### Patches - Fix: lock license plugin version: [#​692](https://github.com/vercel/ncc/issues/692) ##### Credits Huge thanks to [@​huozhi](https://github.com/huozhi) for helping! ### [`v0.28.2`](https://github.com/vercel/ncc/releases/tag/0.28.2) [Compare Source](https://github.com/vercel/ncc/compare/0.28.1...0.28.2) ##### Patches - Fix: unknown compiler option `incremental`: [#​685](https://github.com/vercel/ncc/issues/685) - Fix: replace .npmignore with "files" prop: [#​688](https://github.com/vercel/ncc/issues/688) ##### Credits Huge thanks to [@​Songkeys](https://github.com/Songkeys) for helping! ### [`v0.28.1`](https://github.com/vercel/ncc/releases/tag/0.28.1) [Compare Source](https://github.com/vercel/ncc/compare/0.28.0...0.28.1) ##### Patches - Fix: Rebuild bundle to fix [#​684](https://github.com/vercel/ncc/issues/684) - Deps: Bump codecov to 3.8.1: [#​683](https://github.com/vercel/ncc/issues/683) ### [`v0.28.0`](https://github.com/vercel/ncc/releases/tag/0.28.0) [Compare Source](https://github.com/vercel/ncc/compare/0.27.0...0.28.0) ##### Minor Changes - Feat: `exports` conditions semantics: [#​665](https://github.com/vercel/ncc/issues/665) - Feat: `imports` support, webpack upgrade: [#​672](https://github.com/vercel/ncc/issues/672) - Feat: Support Regexp externals: [#​654](https://github.com/vercel/ncc/issues/654) - Fix: TS interop test and fix: [#​671](https://github.com/vercel/ncc/issues/671) - Fix: Upgrade local TS: [#​674](https://github.com/vercel/ncc/issues/674) - Chore: Interop test case: [#​667](https://github.com/vercel/ncc/issues/667) - Chore: add console output when minifying fails: [#​648](https://github.com/vercel/ncc/issues/648) - Chore: Add Node.js 14 to CI: [#​659](https://github.com/vercel/ncc/issues/659) - Docs: Fix out \[file] → out \[dir]: [#​675](https://github.com/vercel/ncc/issues/675) - Deps: Update to webpack\@​5.30.0: [#​681](https://github.com/vercel/ncc/issues/681) - Deps: Update to webpack\@​5.26.3: [#​664](https://github.com/vercel/ncc/issues/664) - Deps: Update to webpack\@​5.24.4: [#​658](https://github.com/vercel/ncc/issues/658) - Deps: Update to webpack-asset-relocator-loader\@​1.3.0: [#​682](https://github.com/vercel/ncc/issues/682) - Deps: Upgrade to webpack-asset-relocator-loader\@​1.2.4: [#​673](https://github.com/vercel/ncc/issues/673) - Deps: Update to webpack-asset-relocator\@​1.2.3: [#​662](https://github.com/vercel/ncc/issues/662) - Deps: Upgrade to terser\@​5.6.1: [#​669](https://github.com/vercel/ncc/issues/669) - Deps: Bump socket.io from 2.2.0 to 2.4.0: [#​645](https://github.com/vercel/ncc/issues/645) - Deps: Bump pug from 2.0.3 to 3.0.1: [#​656](https://github.com/vercel/ncc/issues/656) - Deps: Bump elliptic from 6.5.3 to 6.5.4: [#​657](https://github.com/vercel/ncc/issues/657) - Deps: Bump msgpack5 from 4.2.1 to 4.5.1: [#​660](https://github.com/vercel/ncc/issues/660) - Deps: Bump y18n from 3.2.1 to 3.2.2: [#​678](https://github.com/vercel/ncc/issues/678) ##### Credits Huge thanks to [@​guybedford](https://github.com/guybedford), [@​Songkeys](https://github.com/Songkeys), [@​adriencohen](https://github.com/adriencohen), and [@​huozhi](https://github.com/huozhi) for helping! ### [`v0.27.0`](https://github.com/vercel/ncc/releases/tag/0.27.0) [Compare Source](https://github.com/vercel/ncc/compare/0.26.2...0.27.0) ##### Changes - Feat: support customEmit ncc option: [#​634](https://github.com/vercel/ncc/issues/634) - Fix: correct declaration output dir: [#​627](https://github.com/vercel/ncc/issues/627) - Update to webpack-asset-relocator\@​1.2.0: [#​640](https://github.com/vercel/ncc/issues/640) ##### Credits Huge thanks to [@​guybedford](https://github.com/guybedford) and [@​zeroooooooo](https://github.com/zeroooooooo) for helping! ### [`v0.26.2`](https://github.com/vercel/ncc/releases/tag/0.26.2) [Compare Source](https://github.com/vercel/ncc/compare/0.26.1...0.26.2) ##### Patches - Enable minification for sourcemap-register.js: [#​631](https://github.com/vercel/ncc/issues/631) - Avoid **webpack\_require** conflicts: [#​633](https://github.com/vercel/ncc/issues/633) - Bump axios from 0.18.1 to 0.21.1: [#​636](https://github.com/vercel/ncc/issues/636) - Fix: skip typechecking on sub-builds: [#​637](https://github.com/vercel/ncc/issues/637) ##### Credits Huge thanks to [@​xom9ikk](https://github.com/xom9ikk) and [@​guybedford](https://github.com/guybedford) for helping! ### [`v0.26.1`](https://github.com/vercel/ncc/releases/tag/0.26.1) [Compare Source](https://github.com/vercel/ncc/compare/0.26.0...0.26.1) ##### Patches - Ensure separate asset compilation states in subbuilds: [#​630](https://github.com/vercel/ncc/issues/630) ##### Credits Huge thanks to [@​guybedford](https://github.com/guybedford) for helping! ### [`v0.26.0`](https://github.com/vercel/ncc/releases/tag/0.26.0) [Compare Source](https://github.com/vercel/ncc/compare/0.25.1...0.26.0) ##### Changes - Asset subbundle builds: [#​625](https://github.com/vercel/ncc/issues/625) - Bump ini from 1.3.5 to 1.3.7: [#​624](https://github.com/vercel/ncc/issues/624) - Update example with missing TypeScript dependency: [#​623](https://github.com/vercel/ncc/issues/623) - Update readme with missing TS and ES options: [#​615](https://github.com/vercel/ncc/issues/615) ##### Credits Huge thanks to [@​restuwahyu13](https://github.com/restuwahyu13) and [@​guybedford](https://github.com/guybedford) for helping! ### [`v0.25.1`](https://github.com/vercel/ncc/releases/tag/0.25.1) [Compare Source](https://github.com/vercel/ncc/compare/0.25.0...0.25.1) ##### Changes - Allow passing `target`: [#​614](https://github.com/vercel/ncc/issues/614) ##### Credits Huge thanks to [@​ijjk](https://github.com/ijjk) for helping! ### [`v0.25.0`](https://github.com/vercel/ncc/releases/tag/0.25.0) [Compare Source](https://github.com/vercel/ncc/compare/0.24.1...0.25.0) ##### Changes - Bump `webpack` from `5.0.0-beta.28` to `5.2.0`: [#​602](https://github.com/vercel/ncc/issues/602) - Bump `npm-user-validate` from `1.0.0` to `1.0.1`: [#​604](https://github.com/vercel/ncc/issues/604) - Bump `object-path` from `0.11.4` to `0.11.5`: [#​607](https://github.com/vercel/ncc/issues/607) - Fix `--quiet` flag on ts build: [#​605](https://github.com/vercel/ncc/issues/605) - Add integration test for `@slack/web-api`: [#​591](https://github.com/vercel/ncc/issues/591) ##### Credits Huge thanks to [@​huozhi](https://github.com/huozhi) and [@​ataylorme](https://github.com/ataylorme) for helping! </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: Nicolas <bircni@icloud.com> Reviewed-on: https://gitea.com/gitea/runner/pulls/881 Reviewed-by: Nicolas <bircni@icloud.com> Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com> |
||
|
|
b1c873a66b |
chore(deps): update dependency @actions/core to v1.11.1 (#880)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@actions/core](https://github.com/actions/toolkit/tree/main/packages/core) ([source](https://github.com/actions/toolkit/tree/HEAD/packages/core)) | [`1.10.0` → `1.11.1`](https://renovatebot.com/diffs/npm/@actions%2fcore/1.10.0/1.11.1) |  |  | --- ### Release Notes <details> <summary>actions/toolkit (@​actions/core)</summary> ### [`v1.11.1`](https://github.com/actions/toolkit/blob/HEAD/packages/core/RELEASES.md#1111) - Fix uses of `crypto.randomUUID` on Node 18 and earlier [#​1842](https://github.com/actions/toolkit/pull/1842) ##### 1.11.0 - Add platform info utilities [#​1551](https://github.com/actions/toolkit/pull/1551) - Remove dependency on `uuid` package [#​1824](https://github.com/actions/toolkit/pull/1824) ##### 1.10.1 - Fix error message reference in oidc utils [#​1511](https://github.com/actions/toolkit/pull/1511) ##### 1.10.0 - `saveState` and `setOutput` now use environment files if available [#​1178](https://github.com/actions/toolkit/pull/1178) - `getMultilineInput` now correctly trims whitespace by default [#​1185](https://github.com/actions/toolkit/pull/1185) ##### 1.9.1 - Randomize delimiter when calling `core.exportVariable` ##### 1.9.0 - Added `toPosixPath`, `toWin32Path` and `toPlatformPath` utilities [#​1102](https://github.com/actions/toolkit/pull/1102) ##### 1.8.2 - Update to v2.0.1 of `@actions/http-client` [#​1087](https://github.com/actions/toolkit/pull/1087) ##### 1.8.1 - Update to v2.0.0 of `@actions/http-client` ##### 1.8.0 - Deprecate `markdownSummary` extension export in favor of `summary` - [#​1072](https://github.com/actions/toolkit/pull/1072) - [#​1073](https://github.com/actions/toolkit/pull/1073) ##### 1.7.0 - [Added `markdownSummary` extension](https://github.com/actions/toolkit/pull/1014) ##### 1.6.0 - [Added OIDC Client function `getIDToken`](https://github.com/actions/toolkit/pull/919) - [Added `file` parameter to `AnnotationProperties`](https://github.com/actions/toolkit/pull/896) ##### 1.5.0 - [Added support for notice annotations and more annotation fields](https://github.com/actions/toolkit/pull/855) ##### 1.4.0 - [Added the `getMultilineInput` function](https://github.com/actions/toolkit/pull/829) ##### 1.3.0 - [Added the trimWhitespace option to getInput](https://github.com/actions/toolkit/pull/802) - [Added the getBooleanInput function](https://github.com/actions/toolkit/pull/725) ##### 1.2.7 - [Prepend newline for set-output](https://github.com/actions/toolkit/pull/772) ##### 1.2.6 - [Update `exportVariable` and `addPath` to use environment files](https://github.com/actions/toolkit/pull/571) ##### 1.2.5 - [Correctly bundle License File with package](https://github.com/actions/toolkit/pull/548) ##### 1.2.4 - [Be more lenient in accepting non-string command inputs](https://github.com/actions/toolkit/pull/405) - [Add Echo commands](https://github.com/actions/toolkit/pull/411) ##### 1.2.3 - [IsDebug logging](README.md#logging) ##### 1.2.2 - [Fix escaping for runner commands](https://github.com/actions/toolkit/pull/302) ##### 1.2.1 - [Remove trailing comma from commands](https://github.com/actions/toolkit/pull/263) - [Add "types" to package.json](https://github.com/actions/toolkit/pull/221) ##### 1.2.0 - saveState and getState functions for wrapper tasks (on finally entry points that run post job) ##### 1.1.3 - setSecret added to register a secret with the runner to be masked from the logs - exportSecret which was not implemented and never worked was removed after clarification from product. ##### 1.1.1 - Add support for action input variables with multiple spaces [#​127](https://github.com/actions/toolkit/issues/127) - Switched ## commands to :: commands (should have no noticeable impact) \[[#​110](https://github.com/actions/toolkit/issues/110))([#​110](https://github.com/actions/toolkit/pull/110)) ##### 1.1.0 - Added helpers for `group` and `endgroup` [#​98](https://github.com/actions/toolkit/pull/98) ##### 1.0.0 - Initial release ### [`v1.11.0`](https://github.com/actions/toolkit/blob/HEAD/packages/core/RELEASES.md#1110) - Add platform info utilities [#​1551](https://github.com/actions/toolkit/pull/1551) - Remove dependency on `uuid` package [#​1824](https://github.com/actions/toolkit/pull/1824) ### [`v1.10.1`](https://github.com/actions/toolkit/blob/HEAD/packages/core/RELEASES.md#1101) - Fix error message reference in oidc utils [#​1511](https://github.com/actions/toolkit/pull/1511) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://gitea.com/gitea/runner/pulls/880 Reviewed-by: Nicolas <bircni@icloud.com> Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com> |
||
|
|
13dc9386fe |
Rename act_runner to runner (#850)
## Consumer-facing breaking changes
- **Go module path**: `gitea.com/gitea/act_runner` → `gitea.com/gitea/runner`. Anything importing `act/...` or `internal/...` packages (notably Gitea itself) must update imports.
- **Binary name**: `act_runner` → `gitea-runner`. Wrapper scripts, systemd units, init scripts, and documentation referencing the binary by `act_runner` will break.
- **Docker image**: `gitea/act_runner` → `gitea/runner` (incl. `*-dind-rootless` variants). Users pulling `gitea/act_runner:nightly` etc. will get stale images. Note: the image name is `gitea/runner`, not `gitea/gitea-runner`.
- **Release artifact paths**: S3 directory `act_runner/{{.Version}}` → `gitea-runner/{{.Version}}`, and artifact filenames change with the new project name. Existing download URLs break.
- **Metrics namespace**: changed from `act_runner` to `gitea_runner` (e.g. `act_runner_jobs_total` → `gitea_runner_jobs_total`); existing monitors/dashboards must be updated.
- **ldflags version path**: `gitea.com/gitea/act_runner/internal/pkg/ver.version` → `gitea.com/gitea/runner/internal/pkg/ver.version`. Affects anyone building with custom ldflags.
- **Kubernetes example resource names**: `act-runner` / `act-runner-vol` → `runner` / `runner-vol`. Users who copied the manifests verbatim will see resource churn on apply.
- **s6 service name**: `scripts/s6/act_runner/` → `scripts/s6/gitea-runner/` (image-internal; only matters for downstream image overrides).
Unchanged: YAML config field names, env vars (`GITEA_*`), CLI flags/subcommands, registration file format.
---------
Co-authored-by: silverwind <me@silverwind.io>
Reviewed-on: https://gitea.com/gitea/runner/pulls/850
Reviewed-by: Zettat123 <39446+zettat123@noreply.gitea.com>
Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com>
Reviewed-by: Nicolas <bircni@icloud.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
|
||
|
|
2516573592 |
chore: clean up nolint directives in act package (#864)
Removes 88 `nolint` directives (386 → 298) via mechanical, zero-regression cleanups: - **38 `bodyclose`** in `act/artifactcache/handler_test.go`: replaced by `defer resp.Body.Close()` after each HTTP call. - **21 dead directives** (`gocyclo`, `dogsled`, `contextcheck`): none of these linters are enabled in `.golangci.yml`, so the directives were doing nothing. - **29 `testifylint`** directives whose underlying issues were addressed by mechanical rewrites: - `assert.Nil(t, err)` → `assert.NoError(t, err)` - `assert.NotNil(t, err)` → `assert.Error(t, err)` - `assert.Equal(t, true/false, x)` → `assert.True/False(t, x)` - `assert.Equal(t, 0, len(x))` → `assert.Empty(t, x)` - `assert.Equal(t, N, len(x))` → `assert.Len(t, x, N)` - `assert.Len(t, x, 0)` → `assert.Empty(t, x)` Many `testifylint` directives still apply because they flag `require-error` (i.e. testifylint wants `require.NoError` instead of `assert.NoError` for early bail-out). That's a behavior change (fail-fast vs continue) and out of scope for this purely mechanical cleanup — those can be addressed in a follow-up. Same for `expected-actual`, `equal-values`, `error-is-as`, and the remaining `nilnil` / `unparam` / `forbidigo` / `staticcheck` / `goheader` / `dupl` directives. `golangci-lint run` is clean. Tests pass for all touched packages. --- This PR was written with the help of Claude Opus 4.7 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/864 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: silverwind <2021+silverwind@noreply.gitea.com> Co-committed-by: silverwind <2021+silverwind@noreply.gitea.com> |
||
|
|
f09fafcb0a |
Clone different git repos in parallel via per-directory locks (#866)
Old `cloneLock` is a package-level `sync.Mutex` that serialized every action clone across all goroutines, regardless of target directory. This PR replaces it with a `sync.Map` of per-directory mutexes keyed by `input.Dir`. Same-directory operations still serialize; different directories now clone in parallel. Reviewed-on: https://gitea.com/gitea/act_runner/pulls/866 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Zettat123 <zettat123@gmail.com> Co-committed-by: Zettat123 <zettat123@gmail.com> |
||
|
|
801e5cf4d5 |
fix: avoid 'filename too long' on matrix jobs by hashing container names (#853)
## Bug fixes
- Fixed "file name too long" errors when running matrix jobs with many or
long-valued matrix parameters. Docker volume and container names are now
bounded to a safe length by hashing the full name with SHA-256, keeping
the result well within the filesystem `NAME_MAX` limit (255 bytes) even
after Docker appends its own suffixes (`-env`, `-network`, etc.).
## Upgrade notes
This change renames the Docker containers, volumes and networks created by
the runner. Resources created by a previous version will **not** be cleaned
up automatically after upgrade and will become orphans.
After upgrading, you can remove the legacy resources with:
```sh
# volumes
docker volume ls -q | grep -E '^GITEA-ACTIONS-TASK-[0-9]+_' | xargs -r docker volume rm
# networks
docker network ls --format '{{.Name}}' | grep -E '^GITEA-ACTIONS-TASK-[0-9]+_.*-network$' | xargs -r docker network rm
```
> **Note:** If multiple act_runner instances share the same Docker daemon,
> make sure no runner using the old version is running before executing the
> cleanup commands above.
Fixes #686
---------
Co-authored-by: Nicolas <bircni@icloud.com>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/853
Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com>
Co-authored-by: Morgan Peyre <195218+peyremorgan@noreply.gitea.com>
Co-committed-by: Morgan Peyre <195218+peyremorgan@noreply.gitea.com>
|
||
|
|
5edc4ba550 |
Authenticate cache requests via ACTIONS_RUNTIME_TOKEN and scope by repo (#849)
Closes #848. Addresses [GHSA-82g9-637c-2fx2](https://github.com/go-gitea/gitea/security/advisories/GHSA-82g9-637c-2fx2) and the follow-up points raised by @ChristopherHX and @haroutp in that thread. The change is breaking only for `cache.external_server` which uses auth via a pre-shared secret. ## How auth works now 1. **Runner starts** → opens the embedded cache server on `:port`. Loads / creates a 32-byte HMAC signing key in `<cache-dir>/.secret`. 2. **Runner receives a task** → calls `handler.RegisterJob(ACTIONS_RUNTIME_TOKEN, repository)` before the job runs, defers a revoker that removes the credential on completion. Registrations are reference-counted so a stray re-register cannot revoke a live job. 3. **Job container runs `actions/cache`** → the toolkit sends `Authorization: Bearer $ACTIONS_RUNTIME_TOKEN` on every management call (`reserve`, `upload`, `commit`, `find`, `clean`). The cache server's middleware looks the token up in the registered-jobs map: miss → 401; hit → the job's repository is injected into the request context. 4. **Repository scoping** — every cache entry is stamped with `Repo` on reserve; `find`, `upload`, `commit` all verify the caller's repo matches. A job in repo A cannot see or poison a cache entry owned by repo B, even when both reach the server over the same docker bridge. GC dedup also groups by `(Repo, Key, Version)` so one repo can't age out another. 5. **Archive downloads** — `@actions/cache` does not attach Authorization when downloading `archiveLocation`, so the `find` response is a short-lived HMAC-signed URL: `…/artifacts/:id?exp=<unix>&sig=<hmac>`, 10-minute TTL, signature binds `cacheID:exp`. Tampered, expired, or foreign-secret URLs get 401. 6. **Defence-in-depth** — `ACTIONS_RUNTIME_TOKEN` is added to `task.Secrets` so the runner's log masker scrubs it from step output. ## `cache.external_server` (standalone `act_runner cache-server`) Operators set `cache.external_secret` to the same value on the runner config and the `act_runner cache-server` config. The `cache-server` then runs with bearer auth on the cache API and exposes a control-plane at `POST /_internal/{register,revoke}` (gated by the shared secret). The runner pre-registers each task's `ACTIONS_RUNTIME_TOKEN` with the remote server before the job runs and revokes it on completion. Same per-job auth + repo scoping as the embedded handler, just over the network. `cache-server` refuses to start without `cache.external_secret`; runner config load also fails when `cache.external_server` is set without `cache.external_secret`. ## User-facing changes - **One-time cache miss after upgrade.** Pre-existing entries in `bolt.db` have no `Repo` stamp and won't match any job — they'll be evicted by the normal GC. First job per cache key rebuilds its cache. - **`cache.external_server` deployments must add `cache.external_secret`.** Breaking change for anyone running a standalone `act_runner cache-server`: set the same `cache.external_secret` in both the runner config and the cache-server config. Without it neither side starts. - **No config changes required for the default setup.** Runners using the embedded cache server (the common case) keep working without any yaml edits; the auth mechanism is invisible to workflows. --- This PR was written with the help of Claude Opus 4.7 --------- Co-authored-by: Nicolas <bircni@icloud.com> Co-authored-by: Christopher Homberger <christopher.homberger@web.de> Reviewed-on: https://gitea.com/gitea/act_runner/pulls/849 Reviewed-by: ChristopherHX <38043+christopherhx@noreply.gitea.com> |
||
|
|
547a0ff297 |
feat: show run command, shell and env in collapsible group before step output (#847)
## Summary
Mirrors the GitHub Actions runner behaviour where each `run:` step shows a collapsible **"Run \<command\>"** section containing the script, shell command, and environment variables before the actual step output.
### What changes
- **`pkg/runner/step_run.go`**: In `stepRun.main()`, two new executors are added to the pipeline:
1. `logRunGroupHeader()` — runs after `setupShellCommandExecutor()` (so `sr.cmdline` is already resolved). Emits a `::group::Run <step>` log entry followed by the interpolated script, the full shell command line, and the step's env vars (sorted, internal vars filtered out).
2. The existing execution function now has `defer rawLogger.Infof("::endgroup::")` so the group is closed after the step finishes, regardless of success or failure.
### Env var filtering
Internal runner vars are hidden (`GITHUB_*`, `GITEA_*`, `RUNNER_*`, `INPUT_*`, `PATH`, `HOME`) — only user-relevant vars are shown, matching what GitHub Actions displays.
### Example output
```
▼ Run cargo build
cargo build
shell: bash --noprofile --norc -e -o pipefail {0}
env:
CARGO_HOME: /home/runner/.cargo
CARGO_INCREMENTAL: 0
CARGO_TERM_COLOR: always
<actual build output>
```
---------
Co-authored-by: silverwind <2021+silverwind@noreply.gitea.com>
Co-authored-by: silverwind <me@silverwind.io>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/847
Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com>
Reviewed-by: ChristopherHX <38043+christopherhx@noreply.gitea.com>
|
||
|
|
f2b4dbf05f |
run docker step in host mode (#857)
## Problem
In host executor mode, uses: docker://<image> step actions fail because
act/runner/step_docker.go always attaches the step container to the job
container's network namespace, which doesn't exist in host mode.
### Example
Run following job in host runner
```yaml
jobs:
test:
runs-on: ubuntu-latest-host
steps:
- uses: docker://alpine:3.20
with:
args: echo hello
```
```
Error:
failed to start container: Error response from daemon:
joining network namespace of container:
No such container: xxxxxx
```
This pr allows the docker step in the host mode
## Testing
I tested following steps on host runner and it worked
```yaml
- name: Test azure cli action in host mode
uses: azure/cli@v2
env:
RUNNER_OS: Linux
with:
inlineScript: echo "hello from azure cli"
- uses: docker://alpine:3.20
with:
args: echo hello
```
---------
Co-authored-by: Nicolas <bircni@icloud.com>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/857
Reviewed-by: Nicolas <bircni@icloud.com>
Co-authored-by: Mirko Sekulic <misha.sekulic@gmail.com>
Co-committed-by: Mirko Sekulic <misha.sekulic@gmail.com>
|
||
|
|
7c6f1261d4 |
fix: fetch when other refs get force-pushed (#846)
Due to `NewGitCloneExecutor` fetching all the refs (rather than `GoGitActionCache`), if any refs move in a non-fast-forward fashion, this causes the entire action update to fail. As GitHub has special refs like `pull/N/merge` which are guaranteed to move in a non-fast-forward fashion, this leads actions from GitHub usually failing to update. ``` ☁ git clone 'https://github.com/Mic92/update-flake-inputs-gitea' # ref=main cloning https://github.com/Mic92/update-flake-inputs-gitea to /var/lib/gitea-runner/nix0/.cache/act/9b0155f2957ac84c749f9ecc8afaec823af5ef2e67a104ac655623aee12ca5b2 Non-terminating error while running 'git clone': some refs were not updated ``` With the repo https://github.com/Mic92/update-flake-inputs-gitea, you can notice that it only has a `main` branch that moves in a fast-forward fashion and no tags that could've been force pushed. Fixes #726 --------- Co-authored-by: Michael Hoang <enzime@users.noreply.github.com> Reviewed-on: https://gitea.com/gitea/runner/pulls/846 Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com> Reviewed-by: Nicolas <bircni@icloud.com> Co-authored-by: Michael Hoang <194829+enzime@noreply.gitea.com> Co-committed-by: Michael Hoang <194829+enzime@noreply.gitea.com> |
||
|
|
fab2d6ae04 |
Merge gitea/act into act/
Merges the `gitea.com/gitea/act` fork into this repository as the `act/` directory and consumes it as a local package. The `replace github.com/nektos/act => gitea.com/gitea/act` directive is removed; act's dependencies are merged into the root `go.mod`. - Imports rewritten: `github.com/nektos/act/pkg/...` → `gitea.com/gitea/act_runner/act/...` (flattened — `pkg/` boundary dropped to match the layout forgejo-runner adopted). - Dropped act's CLI (`cmd/`, `main.go`) and all upstream project files; kept the library tree + `LICENSE`. - Added `// Copyright <year> The Gitea Authors ...` / `// Copyright <year> nektos` headers to 104 `.go` files. - Pre-existing act lint violations annotated inline with `//nolint:<linter> // pre-existing issue from nektos/act`. `.golangci.yml` is unchanged vs `main`. - Makefile test target: `-race -short` (matches forgejo-runner). - Pre-existing integration test failures fixed: race in parallel executor (atomic counters); TestSetupEnv / command_test / expression_test / run_context_test updated to match gitea fork runtime; TestJobExecutor and TestActionCache gated on `testing.Short()`. Full `gitea/act` commit history is reachable via the second parent. Co-Authored-By: Claude (Opus 4.7) <noreply@anthropic.com> |