Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 1a9e994

Browse files
committed
update fiber to v2.40.0
deprecate go 1.14 & 1.15
1 parent 0005174 commit 1a9e994

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Dependabot auto-merge
2+
on:
3+
pull_request
4+
5+
permissions:
6+
contents: write
7+
pull-requests: write
8+
9+
jobs:
10+
wait_for_checks:
11+
runs-on: ubuntu-latest
12+
if: ${{ github.actor == 'dependabot[bot]' }}
13+
steps:
14+
- name: Wait for check is finished
15+
uses: lewagon/wait-on-check-action@v1.2.0
16+
id: wait_for_checks
17+
with:
18+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
19+
running-workflow-name: wait_for_checks
20+
check-regexp: Tests
21+
repo-token: ${{ secrets.PR_TOKEN }}
22+
wait-interval: 10
23+
dependabot:
24+
needs: [wait_for_checks]
25+
name: Dependabot auto-merge
26+
runs-on: ubuntu-latest
27+
if: ${{ github.actor == 'dependabot[bot]' }}
28+
steps:
29+
- name: Dependabot metadata
30+
id: metadata
31+
uses: dependabot/fetch-metadata@v1.3.5
32+
with:
33+
github-token: "${{ secrets.PR_TOKEN }}"
34+
- name: Enable auto-merge for Dependabot PRs
35+
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
36+
run: |
37+
gh pr review --approve "$PR_URL"
38+
gh pr merge --auto --merge "$PR_URL"
39+
env:
40+
PR_URL: ${{github.event.pull_request.html_url}}
41+
GITHUB_TOKEN: ${{secrets.PR_TOKEN}}

0 commit comments

Comments
 (0)