Skip to content

chore: release v9.0.0-pre3 #3410

chore: release v9.0.0-pre3

chore: release v9.0.0-pre3 #3410

name: Auto-merge PRs from trusted bots
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' || github.actor == 'github-actions' }}
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
id: app-token
with:
app-id: 2754721
owner: ${{ github.repository_owner }}
private-key: ${{ secrets.ACTIONS_RECURSIVE_PRIVATE_KEY }}
- name: Dependabot metadata
id: metadata
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
uses: step-security/dependabot-fetch-metadata@bf8fb6e0be0a711c669dc236de6e7f7374ba626e # v3.1.0
with:
github-token: ${{ steps.app-token.outputs.token }}
- name: Enable auto-merge
run: gh pr merge --auto --merge "$PR_URL"
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
PR_URL: ${{github.event.pull_request.html_url}}