Skip to content

Commit 3d3f845

Browse files
committed
[Add::workflow] add branch name action
1 parent 74108ad commit 3d3f845

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
echo $1
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: check branch name
2+
on: push
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- name: Branch name
12+
run: sh ./.github/workflows/branchName.sh ${GITHUB_REF##*/}

0 commit comments

Comments
 (0)