Skip to content

Bump wrangler from 3.95.0 to 3.99.0 #205

Bump wrangler from 3.95.0 to 3.99.0

Bump wrangler from 3.95.0 to 3.99.0 #205

name: Dependabot auto-merge
on:
pull_request:
branches:
- main
jobs:
dependabot-auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Get GitHub App Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.AUTO_MERGE_APP_ID }}
private-key: ${{ secrets.AUTO_MERGE_APP_PRIVATE_KEY }}
- name: Get dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Enable auto-merge (semver-patch)
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
- name: Enable auto-merge (semver-minor)
if: steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}