Skip to content

Commit ebb807e

Browse files
committed
Apply the migration script
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent 3c96f26 commit ebb807e

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/auto-dependabot.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,25 @@ on:
44
pull_request:
55

66
permissions:
7-
contents: write
7+
contents: read
88
pull-requests: write
99

1010
jobs:
1111
auto-merge:
1212
if: github.actor == 'dependabot[bot]'
1313
runs-on: ubuntu-slim
1414
steps:
15+
- name: Generate GitHub App token
16+
id: app-token
17+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
18+
with:
19+
app-id: ${{ secrets.FREQUENZ_AUTO_DEPENDABOT_APP_ID }}
20+
private-key: ${{ secrets.FREQUENZ_AUTO_DEPENDABOT_APP_PRIVATE_KEY }}
21+
1522
- name: Auto-merge Dependabot PR
1623
uses: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2
1724
with:
18-
github-token: ${{ secrets.GITHUB_TOKEN }}
25+
github-token: ${{ steps.app-token.outputs.token }}
1926
dependency-type: 'all'
2027
auto-merge: 'true'
2128
merge-method: 'merge'

0 commit comments

Comments
 (0)