Skip to content

build(deps): bump @actions/github from 9.0.0 to 9.1.0 in the github-actions group #65

build(deps): bump @actions/github from 9.0.0 to 9.1.0 in the github-actions group

build(deps): bump @actions/github from 9.0.0 to 9.1.0 in the github-actions group #65

Workflow file for this run

name: CI
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install
- name: Format check
run: bun run format:check
- name: Lint
run: bun run lint
- name: Test
run: bun test
- name: Build
run: bun run package
dependabot:
needs: [build]
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
permissions:
pull-requests: write
contents: write
steps:
- id: dependabot-metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- if: ${{ steps.dependabot-metadata.outputs.update-type == 'version-update:semver-minor' || steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' }}
run: |
gh pr review --approve "$PR_URL"
gh pr merge --squash --auto "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}