Skip to content

Commit 7ffab46

Browse files
authored
Fix trunk-upgrade workflow: run upgrade within trunk-action lifecycle (#249)
1 parent b9a029a commit 7ffab46

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/trunk-upgrade.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919

2020
- name: Install Trunk CLI
2121
uses: trunk-io/trunk-action@e1234e67a86010d61ddac8d8ebf4b783e2ffd2fa # v2.0.0
22-
23-
- name: Upgrade Trunk CLI and linters
24-
run: '"${TRUNK_PATH}" upgrade -y --include-cli'
22+
with:
23+
check-mode: none
24+
post-init: '"${TRUNK_PATH}" upgrade -y --include-cli'
2525
env:
2626
# Authenticated requests get a higher GitHub API rate limit (pinact).
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)