Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0a62e0

Browse files
committed
echo github.base_ref
1 parent a6b3709 commit e0a62e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44

55
jobs:
66
check:
7-
if: contains(github.base_ref,'HackYourFuture')
7+
# if: contains(github.base_ref,'HackYourFuture')
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
@@ -15,6 +15,7 @@ jobs:
1515
- run: npm install
1616
- name: Echo week folder and run tests
1717
run: |
18+
echo ${{github.base_ref}}
1819
export WEEK=$(echo ${BRANCH_NAME} | sed -E 's/.*w(eek)?[-_]?([0-9]).*/week\2/gi')
1920
echo Week: ${WEEK}
2021
npm run test-${WEEK}

0 commit comments

Comments
 (0)