From 36a9314715ce11f5d8905227fd2810050a22090b Mon Sep 17 00:00:00 2001 From: Esteban Beltran Date: Wed, 7 Sep 2022 15:11:25 +0200 Subject: [PATCH] Update bump version workflow (#45) --- .github/workflows/npm-bump-version.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-bump-version.yml b/.github/workflows/npm-bump-version.yml index 4cd85619e..e8b289e7e 100644 --- a/.github/workflows/npm-bump-version.yml +++ b/.github/workflows/npm-bump-version.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.GH_BOT_ACCESS_TOKEN }} - name: Setup environment uses: actions/setup-node@v3.1.1 @@ -39,6 +39,11 @@ jobs: - name: Unit tests run: yarn jest + - name: Setup Git + run: | + git config user.name 'grafanabot' + git config user.email 'bot@grafana.com' + - name: bump version run: npm version ${{ github.event.inputs.version }}