Skip to content

Commit d9d3099

Browse files
authored
ci: update release process (open-feature#57)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
1 parent 9dc1d9f commit d9d3099

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

.github/workflows/dco-exceptions.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: DCO
2+
on:
3+
merge_group:
4+
pull_request:
5+
6+
permissions: # set top-level default permissions as security best practice
7+
contents: read # Check https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#token-permissions
8+
9+
jobs:
10+
DCO:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- if: ${{ github.event_name == 'merge_group' }}
14+
run: echo "skipping DCO check for the merge group"
15+
16+
## Allow openfeaturebo skip DCO checks
17+
- if: ${{ github.event_name == 'pull_request' && github.actor == 'openfeaturebot' }}
18+
run: echo "skipping DCO for the OpenFeature Bot"

.github/workflows/dco-merge-group.yaml

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

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: googleapis/release-please-action@v4
2020
id: release
2121
with:
22-
token: ${{secrets.GITHUB_TOKEN}}
22+
token: ${{secrets.RELEASE_PLEASE_ACTION_TOKEN}}
2323
target-branch: main
2424
- name: Dump Release Please Output
2525
env:

release-please-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"signoff": "OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>",
23
"packages": {
34
".": {
45
"release-type": "go",

0 commit comments

Comments
 (0)