diff --git a/.github/workflows/release_tao_extension.yml b/.github/workflows/release_tao_extension.yml index 8ffba5e7..2c87ab48 100644 --- a/.github/workflows/release_tao_extension.yml +++ b/.github/workflows/release_tao_extension.yml @@ -15,9 +15,18 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + token: ${{ secrets.SEMVER_GH_TOKEN }} #bypass branch protection rule + + - name: Configure git user + #configuring git for runner + run: | + git config --global user.name "oat-github-bot" + git config --global user.email "oat-github-bot@taotesting.com" + - name: Release uses: oat-sa/extension-release-action@v1 env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.SEMVER_GH_TOKEN }} with: - github_token: ${{ secrets.GH_TOKEN }} + github_token: ${{ secrets.SEMVER_GH_TOKEN }} \ No newline at end of file