Skip to content

Commit

Permalink
ci: update release process
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Beemer <[email protected]>
  • Loading branch information
beeme1mr committed Nov 5, 2024
1 parent 9dc1d9f commit aef3a6d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dco-exceptions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: DCO
on:
merge_group:
pull_request:

permissions: # set top-level default permissions as security best practice
contents: read # Check https://github.com/ossf/scorecard/blob/7ce8609469289d5f3b1bf5ee3122f42b4e3054fb/docs/checks.md#token-permissions

jobs:
DCO:
runs-on: ubuntu-latest
steps:
- if: ${{ github.event_name == 'merge_group' }}
run: echo "skipping DCO check for the merge group"

## Allow openfeaturebo skip DCO checks
- if: ${{ github.event_name == 'pull_request' && github.actor == 'openfeaturebot' }}
run: echo "skipping DCO for the OpenFeature Bot"
15 changes: 0 additions & 15 deletions .github/workflows/dco-merge-group.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{secrets.GITHUB_TOKEN}}
token: ${{secrets.RELEASE_PLEASE_ACTION_TOKEN}}
target-branch: main
- name: Dump Release Please Output
env:
Expand Down
1 change: 1 addition & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"signoff": "OpenFeature Bot <[email protected]>",
"packages": {
".": {
"release-type": "go",
Expand Down

0 comments on commit aef3a6d

Please sign in to comment.