Repository navigation
chore(deps): bump effect from 3.21.0 to 4.0.1 #1907
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Approve PR (dependabot) | ||
|
Check warning on line 1 in .github/workflows/dependabot.yml
|
||
| 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 }} | ||