We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6929809 commit 1f99c09Copy full SHA for 1f99c09
.github/workflows/main.yml
@@ -11,7 +11,7 @@ jobs:
11
- uses: nelonoel/branch-name@v1
12
- name: Run a one-line script
13
run: echo Hello, world!
14
- - run: echo ${BRANCH_NAME} | sed 's/w(?:eek)?[-_]?(\d{1})/'
+ - run: echo ${BRANCH_NAME} sed -E 's/.*w(eek)?[-_]?([0-9]).*/Week\2/gi'
15
- name: Run a multi-line script
16
run: |
17
echo Add other actions to build,
0 commit comments