Skip to content

Commit 5c08664

Browse files
authored
Merge pull request #25 from masterpointio/feature/auto-release
feat: adds release-please for automated releases
2 parents f437622 + 42306c9 commit 5c08664

File tree

5 files changed

+52
-24
lines changed

5 files changed

+52
-24
lines changed

Diff for: .github/workflows/lint.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Lint
2+
3+
concurrency:
4+
group: lint-${{ github.head_ref || github.run_id }}
5+
cancel-in-progress: true
6+
7+
on: pull_request
8+
9+
permissions:
10+
actions: read
11+
checks: write
12+
contents: read
13+
pull-requests: read
14+
15+
jobs:
16+
trunk-check:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Check out Git repository
20+
uses: actions/checkout@v4
21+
- name: Trunk Check
22+
uses: trunk-io/trunk-action@86b68ffae610a05105e90b1f52ad8c549ef482c2
23+
24+
conventional-title:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: .github/workflows/release-please.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release Please
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f
17+
with:
18+
release-type: terraform-module

Diff for: .github/workflows/trunk-upgrade.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Trunk Upgrade
21-
uses: trunk-io/trunk-action/upgrade@v1
21+
uses: trunk-io/trunk-action/upgrade@d5b1b61d0beee562512f530a278b6a2931fba857
2222
with:
2323
base: main
2424
reviewers: "@masterpointio/masterpoint-internal"

Diff for: .github/workflows/trunk.yaml

-21
This file was deleted.

Diff for: .trunk/trunk.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ runtimes:
1515
1616
lint:
1717
enabled:
18+
19+
1820
19-
21+
2022
- git-diff-check
2123
2224
@@ -25,7 +27,7 @@ lint:
2527
2628
2729
28-
- trufflehog@3.80.5
30+
- trufflehog@3.81.7
2931
3032
ignore:
3133
- linters: [shellcheck]

0 commit comments

Comments
 (0)