-
Notifications
You must be signed in to change notification settings - Fork 19
Comparing changes
Open a pull request
base repository: trunk-io/trunk-action
base: 6522858
head repository: trunk-io/trunk-action
compare: 86b68ff
- 19 commits
- 12 files changed
- 8 contributors
Commits on Feb 19, 2024
-
Upgrade trunk to 1.20.0 (#220)
[](https://trunk.io) cli upgraded: 1.19.0 → 1.20.0 2 plugins were upgraded: - trunk-io/configs v1.0.1 → v1.0.2 - trunk-io/plugins v1.4.2 → v1.4.3 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 76fcbaf - Browse repository at this point
Copy the full SHA 76fcbafView commit details
Commits on Feb 26, 2024
-
Upgrade trunk to 1.20.1 (#227)
[](https://trunk.io) cli upgraded: 1.20.0 → 1.20.1 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 21be1f4 - Browse repository at this point
Copy the full SHA 21be1f4View commit details
Commits on Feb 27, 2024
-
(Feat): Add setup-trunk action (#225)
Factor out trunk-setup Can be called with: uses: trunk-io/trunk-action/setup-trunk@v1
Configuration menu - View commit details
-
Copy full SHA for 7470cc1 - Browse repository at this point
Copy the full SHA 7470cc1View commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ca8acdf - Browse repository at this point
Copy the full SHA ca8acdfView commit details
Commits on Mar 4, 2024
-
Fix upgrade action setup (#229)
Fixes the path to `locate_trunk.sh` and bumps the `create-pull-request` to v6. Successful [run](https://github.com/trunk-io/trunk-action/actions/runs/8145406935/job/22261584720) and [PR](#230)
Configuration menu - View commit details
-
Copy full SHA for 8fb66f9 - Browse repository at this point
Copy the full SHA 8fb66f9View commit details -
[](https://trunk.io) 1 plugin was upgraded: - trunk-io/plugins v1.4.3 → v1.4.4 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 11cf68d - Browse repository at this point
Copy the full SHA 11cf68dView commit details
Commits on Mar 11, 2024
-
[](https://trunk.io) 1 plugin was upgraded: - trunk-io/configs v1.0.2 → v1.0.4 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 56bee28 - Browse repository at this point
Copy the full SHA 56bee28View commit details
Commits on Mar 18, 2024
-
Upgrade trunk to 1.21.0 (#233)
[](https://trunk.io) cli upgraded: 1.20.1 → 1.21.0 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 718b71f - Browse repository at this point
Copy the full SHA 718b71fView commit details
Commits on Mar 25, 2024
-
[](https://trunk.io) 1 plugin was upgraded: - trunk-io/plugins v1.4.4 → v1.4.5 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4feb07f - Browse repository at this point
Copy the full SHA 4feb07fView commit details -
add install action to install all trunk tools in trunk.yaml (#234)
install will pull trunk launcher from cloud into tmp location and then run the `trunk tools install` command. Optionally installs that are specified - else installs everything. Example of using it in flaky factory https://github.com/trunk-io/flake-factory/blob/main/.github/workflows/factory.yaml - name: trunk install uses: 54ccfcf
Configuration menu - View commit details
-
Copy full SHA for 540e7fe - Browse repository at this point
Copy the full SHA 540e7feView commit details
Commits on Apr 4, 2024
-
feat: continue on node package install failure (#236)
### Problem Currently, most of our check-on-prs/check nightly failures occur while installing node packages, for a variety of reasons. Right now, this causes the check to fail, and we report that "something went wrong". Instead, we may want to disable linters that depend on node-modules (specifically, stylelint and eslint) and lint the remaining files to report our best-effort results. Pros: - We would report some issues, and some issues is better than no issues - We wouldn't be erroring with a message that seems like an internal error (because for all we know right now, it could be) Cons: - A user could introduce a lint issue in the same PR as a breaking change to package.json and we would pass that PR - I am pretty sure that we don't have a great way of surfacing to the user that we're disabling eslint without writing an annoying amount of boilerplate to send the data through the cli through services back to github - We do log this in the action logs, but that's the most visible place ### Solution After talking with Sam about this, we figured the best solution is to disable the linters if we are auto-initing for the user, but not if the user has a trunk.yaml and therefore has deliberately opted to see ts/js issues. ### Testing Added a repo test for [prawn-test-staging-rw/node-packages-failure-test](https://github.com/prawn-test-staging-rw/node-packages-failure-test/tree/main) that has an invalid package.json, and checks to make sure the action disables eslint and stylelint, and continues after the failure.
Configuration menu - View commit details
-
Copy full SHA for da67635 - Browse repository at this point
Copy the full SHA da67635View commit details
Commits on Apr 29, 2024
-
Upgrade trunk to 1.22.0 (#237)
[](https://trunk.io) cli upgraded: 1.21.0 → 1.22.0 1 plugin was upgraded: - trunk-io/plugins v1.4.5 → v1.5.0 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 246fbe9 - Browse repository at this point
Copy the full SHA 246fbe9View commit details
Commits on May 8, 2024
-
feat: add option for Signed-Off-By line in upgrade action (#238)
Adds support for adding a `Signed-Off-By` line to commits created by the upgrade action, as requested [here](trunk-io/plugins#764). Tested in this repo, you can see the commit [here](cc7d39d).
Configuration menu - View commit details
-
Copy full SHA for bd68632 - Browse repository at this point
Copy the full SHA bd68632View commit details
Commits on May 13, 2024
-
Upgrade trunk to 1.22.1 (#242)
[](https://trunk.io) cli upgraded: 1.22.0 → 1.22.1 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4a49915 - Browse repository at this point
Copy the full SHA 4a49915View commit details
Commits on May 14, 2024
-
Add inputs/outputs to upgrade action (#241)
Per a user request, adds the following: - Input for assignees - Input to override the default created branch name - Output the PR number and other PR info for consumption from other actions Verified [run](https://github.com/trunk-io/trunk-action/actions/runs/9038985803/job/24841100064)
Configuration menu - View commit details
-
Copy full SHA for d5b1b61 - Browse repository at this point
Copy the full SHA d5b1b61View commit details
Commits on May 16, 2024
-
fix: attempt to install specified pnpm version (#243)
Currently, we only install the latest pnpm version, which fails if the user has specified a pnpm version under `packageManager` in their package.json. This PR changes that to attempt to parse the version out of the package.json before defaulting to latest. The `pnpm/action-setup` action does have logic for parsing the version out of the package.json, but we cannot provide both an version and a version in the package.json, or it will fail ([source link](https://github.com/pnpm/action-setup/blob/master/src/install-pnpm/run.ts#L64)). Tested manually, both with and without the `packageManager` field.
Configuration menu - View commit details
-
Copy full SHA for f6c5f1b - Browse repository at this point
Copy the full SHA f6c5f1bView commit details
Commits on May 28, 2024
-
[](https://trunk.io) 1 plugin was upgraded: - trunk-io/configs v1.0.4 → v1.0.5 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f64973b - Browse repository at this point
Copy the full SHA f64973bView commit details
Commits on Jun 19, 2024
-
Upgrade trunk to 1.22.2 (#246)
[](https://trunk.io) cli upgraded: 1.22.1 → 1.22.2 1 plugin was upgraded: - trunk-io/plugins v1.5.0 → v1.6.0 This PR was generated by the [Trunk Action]. For more info, see our [docs] or reach out on [Slack]. [Trunk Action]: https://github.com/trunk-io/trunk-action [docs]: https://docs.trunk.io [Slack]: https://slack.trunk.io/ Co-authored-by: TylerJang27 <42743566+TylerJang27@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6eac1bb - Browse repository at this point
Copy the full SHA 6eac1bbView commit details
Commits on Jun 25, 2024
-
[feat] add timeout and ability to cat debug logs (#245)
There may be times where the trunk action is unresponsive and is hung in CI. To understand whether this is a linter or trunk cli issue, we'll need logs to confirm. This PR adds the following optional inputs `timeout-seconds` and `cat-trunk-debug-logs` which will wrap the trunk check action with the unix `timeout` command should the user supply an argument for `timeout-seconds` Should the user specify `cat-trunk-debug-logs: true`, the trunk action will also cat out cli & daemon logs from `.trunk/logs/` Unfortunately, `timeout-minutes` doesn't work in `composite-actions` see actions/runner#1979 and https://github.com/orgs/community/discussions/50481 **Test Plan**: <details> <summary>End to End test to ensure timeout + logs work</summary> <img width="1873" alt="image" src="https://github.com/trunk-io/trunk-action/assets/31294356/27ca9a1b-fe54-4e73-928e-63625d1f934e"> </details> <details> <summary>End to End test to ensure timeout works </summary> <img width="1878" alt="image" src="https://github.com/trunk-io/trunk-action/assets/31294356/8fb7351a-11c0-4e83-9490-864c6ecdafc0"> </details> - [ ] Add Regression test (not entirely sure I can run this workflow) May need some help here!
Configuration menu - View commit details
-
Copy full SHA for 86b68ff - Browse repository at this point
Copy the full SHA 86b68ffView commit details
There are no files selected for viewing