Use bot token on checkout step (#113)

This commit is contained in:
Maycon Santos
2023-12-07 18:02:58 +01:00
committed by GitHub
parent 9c114ea88a
commit ceddc4b1fc

View File

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