File tree Expand file tree Collapse file tree 1 file changed +10
-26
lines changed Expand file tree Collapse file tree 1 file changed +10
-26
lines changed Original file line number Diff line number Diff line change 1
1
name : Release
2
2
3
3
on :
4
- # Trigger the workflow on push on the main branch
4
+ # Trigger the workflow on push or pull request,
5
+ # but only for the main branch
5
6
push :
6
7
branches :
7
8
- main
8
9
paths-ignore :
9
- - ' CODEOWNERS'
10
- - ' **.md'
11
- - ' .**'
12
- # Trigger the workflow by dispatching
13
- workflow_dispatch :
10
+ - " CODEOWNERS"
11
+ - " **.md"
12
+ - " .**"
14
13
15
14
jobs :
16
15
release :
17
16
name : Release
18
- runs-on : ubuntu-22.04
19
-
17
+ runs-on : ubuntu-latest
20
18
steps :
21
- - name : Checkout
22
- id : checkout
23
- # from https://github.com/actions/checkout/commits/main
24
- uses : actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707
25
- with :
26
- persist-credentials : false
27
- fetch-depth : 0
28
-
29
- - name : Release
19
+ - name : Release action
30
20
id : release
31
- # from https://github.com/cycjimmy/semantic-release-action/commits/main
32
- uses : cycjimmy/semantic- release-action@bdd914ff2423e2792c73475f11e8da603182f32d
21
+ # https://github.com/pagopa/eng-github-actions-iac-template/releases/tag/v1.20.0
22
+ uses : pagopa/eng-github-actions-iac-template/global/ release-action@5c7e5f690ad0f07f3bd945bdebf2a6c7a575b33f
33
23
with :
34
- semantic_version : 18.0.0
35
- extra_plugins : |
36
50EB
td>- @semantic-release/release-notes-generator@10.0.3
37
- @semantic-release/git@10.0.1
38
- env :
39
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
-
24
+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments