24
24
25
25
# Common release-drafter configuration
26
26
# From https://github.com/marketplace/actions/release-drafter
27
- _release_drafter : &release_drafter
27
+ # Uncomment when anchor are supported in GitHub Actions
28
+ # See : https://github.com/actions/runner/issues/1182
29
+ # _release_drafter: &release_drafter
30
+ # permissions:
31
+ # contents: write
32
+ # runs-on: ubuntu-latest
33
+ # name: 🔢 Release
34
+ # steps:
35
+ # - uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0
36
+ # with:
37
+ # config-name: release-config.yml
38
+ # env:
39
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40
+
41
+ # Standard release draft update
42
+ update_release_draft :
43
+ # Uncomment when anchor are supported in GitHub Actions
44
+ # See : https://github.com/actions/runner/issues/1182
45
+ # <<: *release_drafter
28
46
permissions :
29
47
contents : write
30
48
runs-on : ubuntu-latest
@@ -35,13 +53,21 @@ jobs:
35
53
config-name : release-config.yml
36
54
env :
37
55
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
-
39
- # Standard release draft update
40
- update_release_draft :
41
- << : *release_drafter
42
56
needs : [preprod]
43
57
44
58
# Hotfix-only release draft update
45
59
update_release_draft_for_hotfix :
46
- << : *release_drafter
47
- if : ! (contains("hotfix", github.ref))
60
+ # Uncomment when anchor are supported in GitHub Actions
61
+ # See : https://github.com/actions/runner/issues/1182
62
+ # <<: *release_drafter
63
+ permissions :
64
+ contents : write
65
+ runs-on : ubuntu-latest
66
+ name : 🔢 Release
67
+ steps :
68
+ - uses : release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0
69
+ with :
70
+ config-name : release-config.yml
71
+ env :
72
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
+ if : ! (contains("hotfix", github.ref_name))
0 commit comments