Skip to content

Commit

Permalink
💚 ci: use different token for dependabot checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
ljnsn committed Mar 14, 2024
1 parent 8014158 commit f2cf5dc
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,20 @@ jobs:
!startsWith(github.event.head_commit.message, 'bump(release):')
name: "Bump version and create changelog with commitizen"
steps:
- name: Check out
- name: Checkout
if: github.actor == 'dependabot[bot]'
uses: actions/checkout@v4
with:
fetch-depth: 0
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
token: ${{ github.token }}
submodules: recursive
- name: Checkout
if: github.actor != 'dependabot[bot]'
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
submodules: recursive
- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
Expand Down

0 comments on commit f2cf5dc

Please sign in to comment.