Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/release 3.0.17 [auto review] #8061

Merged
merged 8 commits into from
Nov 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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