mirror of
https://github.com/gravitational/teleport
synced 2024-10-19 08:43:58 +00:00
Update dependabot-batcher to use GitHub app for authentication (#20342)
This commit is contained in:
parent
b94edcf450
commit
2235827c0e
15
.github/workflows/dependabot-batcher.yaml
vendored
15
.github/workflows/dependabot-batcher.yaml
vendored
|
@ -10,18 +10,21 @@ on:
|
|||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 21 * * 0' # At 9:00 PM every Sunday UTC
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
|
||||
|
||||
jobs:
|
||||
dependabot-batcher:
|
||||
name: 'Combine Dependabot PRs'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Generate GitHub Token
|
||||
id: generate_token
|
||||
uses: tibdex/github-app-token@v1
|
||||
with:
|
||||
app_id: ${{ secrets.APP_ID }}
|
||||
private_key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
- name: 'Dependabot Batcher'
|
||||
uses: Legal-and-General/dependabot-batcher@v1.0.2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }} #required
|
||||
token: ${{ steps.generate_token.outputs.token }} #required
|
||||
baseBranchName: 'master'
|
||||
|
|
Loading…
Reference in a new issue