Skip to content

Commit 95f0a0b

Browse files
authored
Merge pull request #30 from dadadave80/chore/ci-release-please-and-action-bumps
ci: add release-please workflow and bump action versions
2 parents 58de958 + 3578a11 commit 95f0a0b

4 files changed

Lines changed: 36 additions & 1 deletion

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: release-please
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
issues: write
11+
pull-requests: write
12+
13+
jobs:
14+
release-please:
15+
runs-on: ubuntu-latest
16+
steps:
17+
# Uses the default GITHUB_TOKEN. Note: releases/PRs it opens will NOT trigger
18+
# other workflows (e.g. CI on the release PR). Swap in a PAT secret if you need that.
19+
- uses: googleapis/release-please-action@v5
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
config-file: release-please-config.json
23+
manifest-file: .release-please-manifest.json

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Foundry project
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v7
2020
with:
2121
submodules: recursive
2222

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.1.4"
3+
}

release-please-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"bump-minor-pre-major": true,
4+
"packages": {
5+
".": {
6+
"release-type": "simple"
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)