Skip to content

Commit

Permalink
Chore/release 3.0.17 [auto review] (NervJS#8061)
Browse files Browse the repository at this point in the history
* chore(release): publish 3.0.17

* fix: auto-review ci
  • Loading branch information
ZakaryCode authored and shinken008 committed Jan 19, 2021
1 parent 36976a9 commit 8b5e81f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/auto-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ jobs:
run: echo "$GITHUB_CONTEXT"
- name: Get commit message
run: |
echo "name=commitmsg::$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
COMMIT_MESSAGE="$(git log --format=%B -n 1) ${{ github.event.after }}"
echo "commitmsg=${COMMIT_MESSAGE}" >> $GITHUB_ENV
- name: Show commit message
run : echo $commitmsg
run : echo "$commitmsg"
- name: Auto reviews branches
uses: golfzaptw/action-auto-reviews-from-branches@master
if: contains( env.commitmsg , '[auto review]' ) || contains(github.event.pull_request.title, '[auto review]')
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EVENT_TYPE: APPROVE
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
run: echo "$GITHUB_CONTEXT"
- name: Get commit message
run: |
echo "name=commitmsg::$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
COMMIT_MESSAGE="$(git log --format=%B -n 1) ${{ github.event.after }}"
echo "commitmsg=${COMMIT_MESSAGE}" >> $GITHUB_ENV
- name: Show commit message
run : echo $commitmsg
run : echo "$commitmsg"
- name: Setup Node ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
Expand Down Expand Up @@ -51,7 +52,7 @@ jobs:
shell: bash -ex {0}
run: |
CURRENT_VERSION=$(node -p 'require("./lerna.json").version')
echo "name=CURRENT_VERSION::${CURRENT_VERSION}" >> $GITHUB_ENV
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
- name: Tag Check
if: startsWith( env.commitmsg , 'chore(release):' )
id: tag_check
Expand Down

0 comments on commit 8b5e81f

Please sign in to comment.