File tree 4 files changed +13
-10
lines changed
4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
11
+ permissions : read-all
12
+
11
13
jobs :
12
14
analyze :
13
15
name : Analyze
Original file line number Diff line number Diff line change 20
20
- name : Checkout
21
21
id : checkout
22
22
uses : actions/checkout@v4
23
+ with :
24
+ fetch-depth : 0
23
25
24
26
- name : Setup Node.js
25
27
id : setup-node
34
36
35
37
- name : Lint Codebase
36
38
id : super-linter
37
- uses : super-linter/super-linter/slim@v5
39
+ uses : super-linter/super-linter/slim@v6
38
40
env :
39
41
DEFAULT_BRANCH : main
40
42
FILTER_REGEX_EXCLUDE : dist/**/*
Original file line number Diff line number Diff line change @@ -45,8 +45,7 @@ test('loads specific version', () => {
45
45
expect . stringContaining ( VERSION ) . asymmetricMatch ( stdout )
46
46
} )
47
47
48
- // TODO: unskip this until there is a latest version
49
- test . skip ( 'runs with default' , ( ) => {
48
+ test ( 'runs with default' , ( ) => {
50
49
const config = path . join ( __dirname , '..' , 'action.yml' )
51
50
// eslint-disable-next-line @typescript-eslint/no-explicit-any
52
51
const action : any = yaml . load ( fs . readFileSync ( config , 'utf8' ) )
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ BLUE='\033[0;34m'
28
28
latest_tag=$( git describe --tags " $( git rev-list --tags --max-count=1) " )
29
29
30
30
if [[ -z " $latest_tag " ]]; then
31
- # There are no existing release tags
32
- echo -e " No tags found (yet) - Continue to create and push your first tag"
33
- latest_tag=" [unknown]"
31
+ # There are no existing release tags
32
+ echo -e " No tags found (yet) - Continue to create and push your first tag"
33
+ latest_tag=" [unknown]"
34
34
fi
35
35
36
36
# Display the latest release tag
@@ -42,11 +42,11 @@ read -r -p 'Enter a new release tag (vX.X.X format): ' new_tag
42
42
# Validate the new release tag
43
43
tag_regex=' v[0-9]+\.[0-9]+\.[0-9]+$'
44
44
if echo " $new_tag " | grep -q -E " $tag_regex " ; then
45
- echo -e " Tag: ${BLUE} $new_tag ${OFF} is valid"
45
+ echo -e " Tag: ${BLUE} $new_tag ${OFF} is valid"
46
46
else
47
- # Release tag is not `vX.X.X` format
48
- echo -e " Tag: ${BLUE} $new_tag ${OFF} is ${RED} not valid${OFF} (must be in vX.X.X format)"
49
- exit 1
47
+ # Release tag is not `vX.X.X` format
48
+ echo -e " Tag: ${BLUE} $new_tag ${OFF} is ${RED} not valid${OFF} (must be in vX.X.X format)"
49
+ exit 1
50
50
fi
51
51
52
52
# Tag the new release
You can’t perform that action at this time.
0 commit comments