This repository was archived by the owner on Nov 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +71
-224
lines changed
Expand file tree Collapse file tree 5 files changed +71
-224
lines changed Original file line number Diff line number Diff line change 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+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66permissions : read-all
77
88jobs :
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
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 }}
Original file line number Diff line number Diff line change 11name : release-please
22
33on :
4- push :
5- branches : [main]
4+ push :
5+ branches : [main]
66
77permissions :
8- contents : write
9- pull-requests : write
8+ contents : write
9+ pull-requests : write
1010
1111jobs :
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"
Original file line number Diff line number Diff line change 1- GOCMD =go
1+ GOCMD=GOWORK =off go
22TINYGOCMD =tinygo
33GOTEST =$(GOCMD ) test
44GOVET =$(GOCMD ) vet
You can’t perform that action at this time.
0 commit comments