Skip to content

Commit 889099e

Browse files
committed
better
1 parent f76933b commit 889099e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/bot.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ on: # yamllint disable-line rule:truthy
88
- cron: '0 3 * * *'
99
workflow_dispatch:
1010

11-
permissions:
12-
contents: write
13-
pull-requests: write
14-
1511
jobs:
1612
uv-lock:
1713
runs-on: ubuntu-latest
@@ -34,6 +30,10 @@ jobs:
3430
fi
3531
3632
auto-merge:
33+
needs: uv-lock
34+
permissions:
35+
contents: write
36+
pull-requests: write
3737
runs-on: ubuntu-latest
3838
if: ${{ github.event_name == 'pull_request' && (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]') && github.repository == 'mscheltienne/template-python' }}
3939
steps:

0 commit comments

Comments
 (0)