Skip to content

Commit

Permalink
Use bot token on checkout step (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon authored Dec 7, 2023
1 parent 9c114ea commit ceddc4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/generate_api_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit ceddc4b

Please sign in to comment.