Skip to content

Fix /taxonomist wasm paths #1378

Fix /taxonomist wasm paths

Fix /taxonomist wasm paths #1378

name: Dependabot Auto-Merge
on: pull_request_target
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Auto-approve and enable auto-merge for patch updates (all deps)
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: |
gh pr review --approve "$PR_URL"
gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Auto-approve and enable auto-merge for minor updates (dev deps only)
if: |
steps.metadata.outputs.dependency-type == 'direct:development' &&
steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: |
gh pr review --approve "$PR_URL"
gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on production minor/major updates requiring manual review
if: |
steps.metadata.outputs.dependency-type == 'direct:production' &&
(steps.metadata.outputs.update-type == 'version-update:semver-minor' ||
steps.metadata.outputs.update-type == 'version-update:semver-major')
run: |
gh pr comment "$PR_URL" --body "⚠️ This PR updates production dependencies and requires manual review before merging."
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on dev major updates requiring manual review
if: |
steps.metadata.outputs.dependency-type == 'direct:development' &&
steps.metadata.outputs.update-type == 'version-update:semver-major'
run: |
gh pr comment "$PR_URL" --body "ℹ️ This PR updates development dependencies with major version changes. Please review for potential breaking changes in the build/test pipeline."
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}