Skip to content

Commit

Permalink
Relase drafter trenger relases-drafter config
Browse files Browse the repository at this point in the history
  • Loading branch information
espenwaaga committed Oct 18, 2023
1 parent 8099417 commit a247dac
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 3 deletions.
28 changes: 28 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name-template: $NEXT_PATCH_VERSION
tag-template: $NEXT_PATCH_VERSION
change-template: '- $TITLE (#$NUMBER) @$AUTHOR'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '⚠️ Breaking Changes'
labels:
- 'breaking'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'chore'
- title: '⬆️ Dependency upgrades'
labels:
- 'bump'
- 'dependencies'
include-labels:
- 'kontrakt'
template: |
## What's Changed
$CHANGES
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,31 @@ jobs:
uses: navikt/fp-gha-workflows/.github/workflows/release-drafter.yml@main
secrets: inherit

verdikjede-tester:
verdikjede:
name: Verdikjedetester
if: github.ref_name == 'master'
needs: build-app
uses: navikt/fp-autotest/.github/workflows/autotest.yml@master
with:
build-version: ${{ needs.build-app.outputs.build-version }}
test-suite: verdikjede

notify:
name: Notify
if: github.ref_name == 'master' && (success() || failure()) && !contains(needs.*.result, 'skipped')
needs: [build-app, verdikjede]
uses: navikt/fp-autotest/.github/workflows/report-and-notify.yml@master
with:
verdikjede: ${{ needs.verdikjede.outputs.resultat }}
build-version: ${{ needs.build-app.outputs.build-version }}
secrets: inherit

deploy-dev:
name: Deploy dev
permissions:
id-token: write
if: github.ref_name == 'master'
needs: [build-app, verdikjede-tester]
needs: [build-app, verdikjede]
uses: navikt/fp-gha-workflows/.github/workflows/deploy.yml@main
with:
gar: true
Expand All @@ -64,7 +73,7 @@ jobs:
permissions:
id-token: write
if: github.ref_name == 'master'
needs: [build-app, verdikjede-tester, deploy-dev]
needs: [build-app, verdikjede, deploy-dev]
uses: navikt/fp-gha-workflows/.github/workflows/deploy.yml@main
with:
gar: true
Expand Down

0 comments on commit a247dac

Please sign in to comment.