diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 000000000..53d4557f8 --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,17 @@ +name: Automerge + +on: + pull_request_review: + types: + - submitted + +jobs: + automerge: + runs-on: ubuntu-latest + steps: + - uses: reitermarkus/automerge@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + merge-method: squash + do-not-merge-labels: never-merge + pull-request-author-associations: OWNER diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7b61028d4..aa0ea28be 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -2,7 +2,7 @@ name: Node CI on: - pull_request_target: {} + pull_request: {} jobs: paths-filter: diff --git a/package.json b/package.json index a2f5293f7..0eb974659 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "node": ">=18" }, "devDependencies": { - "@elastic/request-converter": "^8.16.0", + "@elastic/request-converter": "^8.15.2", "@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1", "@types/debug": "^4.1.7", "@types/ms": "^0.7.31",