Skip to content

chore(deps): bump effect from 3.21.0 to 4.0.1 #1907

chore(deps): bump effect from 3.21.0 to 4.0.1

chore(deps): bump effect from 3.21.0 to 4.0.1 #1907

Workflow file for this run

name: Approve PR (dependabot)

Check warning on line 1 in .github/workflows/dependabot.yml

View workflow run for this annotation

GitHub Actions / Approve PR (dependabot)

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request_target:
branches: [ next ]
permissions:
pull-requests: write
issues: write
contents: write
jobs:
approve-pr:
name: Approve PR
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Fetch metadata
id: metadata
uses: dependabot/fetch-metadata@v3.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve PR if non-major update
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}