@codfish/actions-playground 5.8.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +14 -24
- package/.github/workflows/validate.yml +6 -1
- package/CODEOWNERS +1 -0
- package/Dockerfile +1 -1
- package/package.json +1 -1
- package/provisioning/Chart.yml +2 -2
- package/test.txt +4 -0
- package/release.config.js +0 -4
|
@@ -4,7 +4,6 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- main
|
|
7
|
-
- develop
|
|
8
7
|
- alpha
|
|
9
8
|
- beta
|
|
10
9
|
- next
|
|
@@ -17,7 +16,7 @@ jobs:
|
|
|
17
16
|
|
|
18
17
|
concurrency:
|
|
19
18
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
20
|
-
cancel-in-progress:
|
|
19
|
+
cancel-in-progress: false
|
|
21
20
|
|
|
22
21
|
steps:
|
|
23
22
|
- uses: actions/checkout@v3
|
|
@@ -49,9 +48,18 @@ jobs:
|
|
|
49
48
|
- name: docker build
|
|
50
49
|
run: docker build -t codfish/actions-playground:latest .
|
|
51
50
|
|
|
51
|
+
- name: Upload Text file
|
|
52
|
+
if: github.ref == 'refs/heads/main'
|
|
53
|
+
uses: actions/upload-artifact@v4
|
|
54
|
+
with:
|
|
55
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
56
|
+
name: text-file-${{ github.ref_name }}
|
|
57
|
+
path: text.txt
|
|
58
|
+
|
|
59
|
+
- run: cat Dockerfile
|
|
60
|
+
|
|
52
61
|
- name: semantic-release
|
|
53
|
-
|
|
54
|
-
uses: codfish/semantic-release-action@config-file
|
|
62
|
+
uses: docker://ghcr.io/codfish/semantic-release-action@sha256:e97235f7e14add2994d6738df6a31a874c184e77da325688c37570dd8382e989
|
|
55
63
|
id: semantic
|
|
56
64
|
with:
|
|
57
65
|
additional-packages: |
|
|
@@ -66,30 +74,12 @@ jobs:
|
|
|
66
74
|
{
|
|
67
75
|
'files': ['Dockerfile'],
|
|
68
76
|
'from': 'RELEASE_VERSION=.*',
|
|
69
|
-
'to': 'RELEASE_VERSION=${nextRelease.version}'
|
|
70
|
-
'results': [
|
|
71
|
-
{
|
|
72
|
-
'file': 'Dockerfile',
|
|
73
|
-
'hasChanged': true,
|
|
74
|
-
'numMatches': 1,
|
|
75
|
-
'numReplacements': 1
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
'countMatches': true
|
|
77
|
+
'to': 'RELEASE_VERSION=${nextRelease.version}'
|
|
79
78
|
},
|
|
80
79
|
{
|
|
81
80
|
'files': ['provisioning/Chart.yml'],
|
|
82
81
|
'from': 'ersion: .*',
|
|
83
|
-
'to': 'ersion: ${nextRelease.version}'
|
|
84
|
-
'results': [
|
|
85
|
-
{
|
|
86
|
-
'file': 'provisioning/Chart.yml',
|
|
87
|
-
'hasChanged': true,
|
|
88
|
-
'numMatches': 2,
|
|
89
|
-
'numReplacements': 2
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
'countMatches': true
|
|
82
|
+
'to': 'ersion: ${nextRelease.version}'
|
|
93
83
|
}
|
|
94
84
|
]
|
|
95
85
|
}
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
hashFiles('**/package-lock.json') }}
|
|
40
40
|
|
|
41
41
|
- name: semantic release dry run
|
|
42
|
-
uses: docker://ghcr.io/codfish/semantic-release-action@sha256:
|
|
42
|
+
uses: docker://ghcr.io/codfish/semantic-release-action@sha256:9e0bbcc4ca3b3611668dcf911e51432573efb3222587c4ca1cc8a759c1b8283c
|
|
43
43
|
with:
|
|
44
44
|
dry-run: true
|
|
45
45
|
env:
|
|
@@ -50,6 +50,11 @@ jobs:
|
|
|
50
50
|
if: steps.npm-cache.outputs.cache-hit != 'true'
|
|
51
51
|
run: npm ci --prefer-offline --no-audit
|
|
52
52
|
|
|
53
|
+
- name: Retrieve text file
|
|
54
|
+
uses: actions/download-artifact@v4
|
|
55
|
+
with:
|
|
56
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
57
|
+
|
|
53
58
|
- run:
|
|
54
59
|
npm run lint:commit -- --from="origin/${{ github.base_ref }}"
|
|
55
60
|
--to="origin/${{github.head_ref }}"
|
package/CODEOWNERS
CHANGED
package/Dockerfile
CHANGED
package/package.json
CHANGED
package/provisioning/Chart.yml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
appVersion:
|
|
1
|
+
appVersion: 6.1.0
|
|
2
2
|
name: actions-playground
|
|
3
|
-
version:
|
|
3
|
+
version: 6.1.0
|
package/test.txt
CHANGED
package/release.config.js
DELETED