From ceddc4b1fc008873fd23c5630a28e0281cd58387 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Thu, 7 Dec 2023 18:02:58 +0100 Subject: [PATCH] Use bot token on checkout step (#113) --- .github/workflows/generate_api_pages.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate_api_pages.yml b/.github/workflows/generate_api_pages.yml index d49883b2..dbfab526 100644 --- a/.github/workflows/generate_api_pages.yml +++ b/.github/workflows/generate_api_pages.yml @@ -20,6 +20,8 @@ jobs: version_extractor_regex: '\/v(.*)$' - uses: actions/checkout@v2 + with: + token: ${{ secrets.DEV_GITHUB_TOKEN }} - name: Install swagger-codegen run: brew install swagger-codegen @@ -55,5 +57,4 @@ jobs: git add -A git commit -m "Update API pages with v${{ steps.semver_parser.outputs.fullversion }}" - git remote set-url origin https://netbirddev:${{ secrets.DEV_GITHUB_TOKEN }}@github.com/${{ github.repository }} - git push --force + git push