Skip to content

Migrate to act10ns/slack #30

Migrate to act10ns/slack

Migrate to act10ns/slack #30

name: dependabot-auto-merge
on:
pull_request_target:
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: actions/checkout@v4
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
github-token: ${{ secrets.GH_PAT_DEPENDABOT_AUTO_MERGE }}
config: .github/dependabot-auto-merge.yml
- name: Slack Notification (not success)
uses: act10ns/slack@v2
if: "! success()"
continue-on-error: true
with:
status: ${{ job.status }}
webhook-url: ${{ secrets.SLACK_WEBHOOK }}