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

Commit 25334d1

Browse files
committed
fix: removed slack notifications && server-minor merge added
1 parent fbea5ab commit 25334d1

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/auto-merge.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,8 @@ jobs:
2020
github-token: "${{ secrets.GITHUB_TOKEN }}"
2121

2222
- name: Enable auto-merge for Dependabot PRs
23-
if: ${{contains(steps.metadata.outputs.dependency-names, 'my-dependency') && steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
23+
if: ${{contains(steps.metadata.outputs.dependency-names, 'my-dependency') && (steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor')}}
2424
run: gh pr merge --auto --merge "$PR_URL"
2525
env:
2626
PR_URL: ${{github.event.pull_request.html_url}}
2727
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
28-
29-
- name: Send Slack notification
30-
uses: 8398a7/[email protected]
31-
if: failure()
32-
with:
33-
status: ${{ job.status }}
34-
author_name: ${{ github.actor }}
35-
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
36-
env:
37-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
40-
- name: Send Slack notification
41-
uses: 8398a7/[email protected]
42-
if: success()
43-
with:
44-
status: ${{ job.status }}
45-
author_name: ${{ github.actor }}
46-
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
47-
env:
48-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
49-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)