Skip to content

Commit 0fb5ca3

Browse files
committed
chore: fix typo
1 parent 6f7812a commit 0fb5ca3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ test:
7979
path: coverage.xml
8080
rules:
8181
- if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"
82-
- if: '$CI_COMMIT_BRANCH == "main"'
82+
- if: $CI_COMMIT_BRANCH == "main"
8383
when: always
8484

8585
test_all:
@@ -104,7 +104,7 @@ test_all:
104104
path: coverage.xml
105105
rules:
106106
- if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "merge_request_event"
107-
- if: '$CI_COMMIT_BRANCH == "release/*"'
107+
- if: $CI_COMMIT_TAG
108108
when: always
109109

110110
build:
@@ -201,8 +201,6 @@ dast:
201201
stage: scans
202202
variables:
203203
DAST_WEBSITE: "https://example.com" # set your staging URL
204-
rules:
205-
- if: $CI_COMMIT_BRANCH == "main"
206204

207205
release:
208206
stage: release

0 commit comments

Comments
 (0)