Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit ad8b26b

Browse files
fix: toto
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 4c9da27 commit ad8b26b

File tree

5 files changed

+71
-224
lines changed

5 files changed

+71
-224
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
".": "1.52.0",
3-
"module/evaluation": "1.2.8",
4-
"openfeature/providers/python-provider": "1.2.0",
5-
"openfeature/providers/kotlin-provider": "1.6.2"
6-
}
2+
".": "1.46.1",
3+
"module/evaluation": "1.0.0",
4+
"module/core": "1.0.0",
5+
"openfeature/providers/python-provider": "0.4.4",
6+
"openfeature/providers/kotlin-provider": "0.3.0"
7+
}

.github/release-please/CHANGELOG.md

Lines changed: 0 additions & 200 deletions
This file was deleted.

.github/workflows/update-internal-module.yml renamed to .github/workflows/bump-modules.yml

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
permissions: read-all
77

88
jobs:
9-
main-release:
9+
module-evaluation:
1010
if: ${{ startsWith(github.event.release.tag_name, 'module/evaluation') }}
1111
name: check if release is a module/evaluation release
1212
runs-on: ubuntu-latest
@@ -44,3 +44,42 @@ jobs:
4444
base: main
4545
labels: automerge
4646
token: ${{ secrets.PAT }}
47+
48+
module-core:
49+
if: ${{ startsWith(github.event.release.tag_name, 'module/core') }}
50+
name: check if release is a module/core release
51+
runs-on: ubuntu-latest
52+
steps:
53+
- name: Checkout goff-fork repository
54+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
55+
56+
- name: Setup go
57+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
58+
with:
59+
go-version-file: module/core/go.mod
60+
check-latest: true
61+
62+
- name: Update internal module
63+
run: |
64+
export GOWORK=off
65+
VERSION=${GITHUB_REF#refs/tags/module/core/}
66+
go get github.com/thomaspoignant/goff-fork/module/core@$VERSION
67+
go mod tidy
68+
go mod vendor
69+
go mod verify
70+
71+
- name: Create Pull Request to bump evaluation module
72+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
73+
with:
74+
branch: bump-evaluation-module-${{ github.ref_name }}
75+
title: "chore(dependency): Bump ${{ github.ref_name }}"
76+
body: |
77+
Automated pull request to bump version ${{ github.ref_name }}
78+
commit-message: "chore(dependency): Bump ${{ github.ref_name }}"
79+
assignees: thomaspoignant
80+
draft: false
81+
signoff: true
82+
delete-branch: true
83+
base: main
84+
labels: automerge
85+
token: ${{ secrets.PAT }}
Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
11
name: release-please
22

33
on:
4-
push:
5-
branches: [main]
4+
push:
5+
branches: [main]
66

77
permissions:
8-
contents: write
9-
pull-requests: write
8+
contents: write
9+
pull-requests: write
1010

1111
jobs:
12-
release-please:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: googleapis/release-please-action@v4
16-
with:
17-
# uses default file names: release-please-config.json + .release-please-manifest.json
18-
# no extra inputs needed for v4
19-
# The action will create/refresh a Release PR when there are releasable commits
20-
# (feat, fix, deps, etc.).
21-
# See: https://github.com/googleapis/release-please
22-
token: ${{ secrets.PAT }}
23-
config-file: .github/release-please/release-please-config.json
24-
manifest-file: .github/release-please/.release-please-manifest.json
12+
release-please:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: googleapis/release-please-action@v4
16+
with:
17+
# uses default file names: release-please-config.json + .release-please-manifest.json
18+
# no extra inputs needed for v4
19+
# The action will create/refresh a Release PR when there are releasable commits
20+
# (feat, fix, deps, etc.).
21+
# See: https://github.com/googleapis/release-please
22+
token: ${{ secrets.PAT }}
23+
config-file: .github/release-please/release-please-config.json
24+
manifest-file: .github/release-please/.release-please-manifest.json
25+
26+
check-release:
27+
runs-on: ubuntu-latest
28+
needs: release-please
29+
if: ${{ toJSON(needs.release-please.outputs)['module/core--releases_created'] == 'true' }}
30+
steps:
31+
- run: echo "Module/core release created"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
GOCMD=go
1+
GOCMD=GOWORK=off go
22
TINYGOCMD=tinygo
33
GOTEST=$(GOCMD) test
44
GOVET=$(GOCMD) vet

0 commit comments

Comments
 (0)