From 8d897f824e27a55ca011163092a813a7e8f426af Mon Sep 17 00:00:00 2001 From: Leifer Mendez Date: Mon, 12 Dec 2022 10:46:02 +0100 Subject: [PATCH] fix(ci): :zap: github action --- .github/workflows/ci.yml | 16 ++++++---------- README.md | 4 ++-- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ccc31a..f6d2725 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,8 @@ name: BotWhatsapp CI on: - push: - branches: - - main pull_request: branches: - - main - dev jobs: @@ -80,12 +76,12 @@ jobs: - name: Release @bot-whatsapp/provider run: yarn node ./scripts/release.js --name=provider --version= --token="${{ secrets.NPM_TOKEN }}" - - name: Commit Versioning - run: | - git config --global user.name 'Leifer Mendez (githubaction)' - git config --global user.email 'leifermendez@users.noreply.github.com' - git commit -am "ci(version): :zap: updated versions every packages" - git push + - name: Commit Versioning & Push changes + uses: actions-js/push@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + message: 'ci(version): :zap: automatic - ${date} updated versions every packages' + branch: 'dev' ############ UNIT TEST ############ test-unit: diff --git a/README.md b/README.md index 854af44..a75b6be 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ -------- 🦊 Documentación: [https://bot-whatsapp.pages.dev/](https://bot-whatsapp.pages.dev/) Video como hacer PR: https://youtu.be/Lxt8Acob6aU - -- [ ] Evitar dependencias + +🚀 __Roadmap:__ [https://github.com/users/leifermendez/projects/4/views/1](https://github.com/users/leifermendez/projects/4/views/1) **Comunidad**