diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml deleted file mode 100644 index 9ebd9302..00000000 --- a/.github/workflows/auto-merge.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: auto-merge - -on: - pull_request_target: - -jobs: - auto-merge: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: ahmadnassri/action-dependabot-auto-merge@v2 - with: - target: minor - command: squash and merge - github-token: ${{ secrets.ACCESS_TOKEN }} diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml new file mode 100644 index 00000000..29649460 --- /dev/null +++ b/.github/workflows/dependabot-auto-merge.yml @@ -0,0 +1,6 @@ +name: Dependabot auto-merge +on: pull_request_target + +jobs: + dependabot: + uses: adoptium/.github/.github/workflows/dependabot-auto-merge.yml@main