Skip to content

支持google oauth登录 #1

支持google oauth登录

支持google oauth登录 #1

Workflow file for this run

name: changeLog
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout Tool
uses: actions/checkout@v3
with:
repository: cookpete/auto-changelog
path: 'auto-changelog'
- name: Build Tool
run: |
cd auto-changelog
npm install
npm link
- name: Generate ChangeLog
run: |
auto-changelog
- name: Cat ChangeLog
run: cat CHANGELOG.md
- name: Commit files
env:
CI_USER: "脚本哥"
CI_EMAIL: "[email protected]"
run: |
git config --local user.email "$CI_EMAIL"
git config --local user.name "$CI_USER"
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo "push=1" >> $GITHUB_ENV || echo "No changes to CHANGELOG.md"
- name: Push changes
if: env.push == 1
env:
CI_USER: "jorben"
CI_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push "https://$CI_USER:[email protected]/$GITHUB_REPOSITORY.git" HEAD:master