Skip to content

Commit db373fd

Browse files
authored
Chore: [AEA-0000] - auto approve dependabot (#1002)
## Summary - Routine Change ### Details - auto approve dependabot
1 parent e8bc46f commit db373fd

2 files changed

Lines changed: 21 additions & 9 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Auto-approve dependency updates
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '*/30 * * * *'
7+
8+
permissions: {}
9+
jobs:
10+
auto-approve-dependabot:
11+
runs-on: ubuntu-22.04
12+
environment: create_pull_request
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
steps:
17+
- name: Auto approve and enable auto-merge
18+
uses: NHSDigital/eps-dependabot-approve@da0503449b218ccd99bc547e242007d5514e4d2f
19+
with:
20+
AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }}
21+
AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }}

.github/workflows/pull_request.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@ jobs:
1313
attestations: read
1414
contents: read
1515
packages: read
16-
dependabot-auto-approve-and-merge:
17-
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@e798d5aee897de6f7dc387dd5623fcd9ba4c8929
18-
permissions:
19-
contents: write
20-
pull-requests: write
21-
secrets:
22-
AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }}
23-
AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }}
24-
2516

2617
quality_checks:
2718
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@8399c1f015c1304e40771cbd8ccc24c7ed48fdbc

0 commit comments

Comments
 (0)