Skip to content

Commit c86db92

Browse files
author
GitHub Action
committed
File sync from s4u/.github - Shared auto approve
1 parent 1156fa3 commit c86db92

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

.github/workflows/auto-approve.yml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,4 @@ on:
55

66
jobs:
77
auto-approve:
8-
runs-on: ubuntu-latest
9-
steps:
10-
11-
- name: Dependabot metadata
12-
if: github.actor == 'dependabot[bot]'
13-
id: dependabot-metadata
14-
uses: dependabot/[email protected]
15-
with:
16-
github-token: "${{ secrets.TECH_TOKEN }}"
17-
18-
# - name: Enable auto-merge for Dependabot PRs
19-
# if: >
20-
# github.actor == 'dependabot[bot]'
21-
# && steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'
22-
# run: gh pr merge --auto --rebase "$PR_URL"
23-
# env:
24-
# PR_URL: ${{github.event.pull_request.html_url}}
25-
# GITHUB_TOKEN: ${{ secrets.TECH_TOKEN }}
26-
27-
# - name: Approve a PR
28-
# if: >
29-
# github.actor == 'dependabot[bot]'
30-
# || github.actor == 'slawekjaranowski'
31-
# run: gh pr review --approve "$PR_URL"
32-
# env:
33-
# PR_URL: ${{github.event.pull_request.html_url}}
34-
# GITHUB_TOKEN: ${{ secrets.TECH_TOKEN }}
8+
uses: s4u/.github/.github/workflows/auto-approve.yml@master

0 commit comments

Comments
 (0)