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 }}