Skip to content

Commit

Permalink
simplify token
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr Savchenko authored and Volodymyr Savchenko committed Aug 15, 2024
1 parent 7ca515b commit b38b6c3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v4
# with:
# fetch-depth: 0
# token: ${{ secrets.BOT_SECRET }}
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.

- name: Install dependencies
run: |
Expand All @@ -32,7 +32,6 @@ jobs:
- name: Bump version
run: |
git remote set-url origin https://odabot:${{ secrets.BOT_SECRET }}@github.com/oda-hub/oda_api.git
git config --global user.email "[email protected]"
git config --global user.name "ODA Release Bot"
bump2version patch --verbose --commit --tag
Expand Down

0 comments on commit b38b6c3

Please sign in to comment.