chore(breadcrumbs): add structured data #595
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: auto-merge | |
on: | |
pull_request_target: | |
branches: | |
- main | |
# No GITHUB_TOKEN permissions, because we use AUTOMERGE_TOKEN instead. | |
permissions: {} | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.user.login == 'dependabot[bot]' | |
steps: | |
- name: Dependabot metadata | |
id: dependabot-metadata | |
uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2.4.0 | |
with: | |
github-token: ${{ secrets.AUTOMERGE_TOKEN }} | |
- name: Squash and merge | |
if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' && !startsWith(steps.dependabot-metadata.outputs.previous-version, '0.') || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' && !startsWith(steps.dependabot-metadata.outputs.previous-version, '0.0.') }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.AUTOMERGE_TOKEN }} | |
run: gh pr comment ${{ github.event.pull_request.html_url }} --body "@dependabot squash and merge" |