Skip to content

Commit

Permalink
ci(trunk): Upgrade all versions (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris3ware authored Jan 31, 2025
1 parent 39c2ece commit 5ecd2fb
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 10 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/trunk-upgrade.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Trunk Upgrade
on:
schedule:
- cron: 0 1 * * 1
workflow_dispatch: {}
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.repository }}
cancel-in-progress: true
jobs:
trunk-upgrade:
name: Upgrade Trunk
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: write # For trunk to create PRs
pull-requests: write # For trunk to create PRs
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Trunk Upgrade
uses: trunk-io/trunk-action/upgrade@8e4c812061ece3fa253bbfa5a80ee1caefa19eb1 # v1.22.9
20 changes: 10 additions & 10 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.21.0
version: 1.22.9
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.4.5
ref: v1.6.7
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- node@18.12.1
- node@18.20.5
- [email protected]
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- actionlint@1.6.26
- [email protected].1
- actionlint@1.7.7
- [email protected].358
- git-diff-check
- markdownlint@0.39.0
- prettier@3.2.4
- trivy@0.48.3
- trufflehog@3.66.1
- yamllint@1.33.0
- markdownlint@0.44.0
- prettier@3.4.2
- trivy@0.59.0
- trufflehog@3.88.3
- yamllint@1.35.1
ignore:
#* Prevent checking CHANGELOG.md files generated by semantic-release
- linters: [prettier, markdownlint]
Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
"release",
"terraform-dir",
"terraform-docs",
"trunk",
"workflows",
],
],
Expand Down

0 comments on commit 5ecd2fb

Please sign in to comment.