We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd6ef49 commit 9c287c9Copy full SHA for 9c287c9
.github/workflows/dependabot-prs.yml
@@ -0,0 +1,19 @@
1
+name: Dependabot auto-merge
2
+on: pull_request
3
+permissions:
4
+ pull-requests: write
5
+ contents: write
6
+jobs:
7
+ dependabot:
8
+ runs-on: ubuntu-latest
9
+ if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'charlietle/opentelemetry-demo'
10
+ steps:
11
+ - name: Dependabot metadata
12
+ id: dependabot-metadata
13
+ uses: dependabot/fetch-metadata@v2
14
+ - name: Enable auto-merge for Dependabot PRs
15
+ if: steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}}
16
+ run: gh pr merge --auto --merge "$PR_URL"
17
+ env:
18
+ PR_URL: ${{github.event.pull_request.html_url}}
19
+ GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments