Skip to content

chore(deps): bump charm.land/fang/v2 from 2.0.0-20260228140200-f3b5a0bf202d to 2.0.1 in the go group #511

chore(deps): bump charm.land/fang/v2 from 2.0.0-20260228140200-f3b5a0bf202d to 2.0.1 in the go group

chore(deps): bump charm.land/fang/v2 from 2.0.0-20260228140200-f3b5a0bf202d to 2.0.1 in the go group #511

Workflow file for this run

name: build
on:
push:
branches:
- "main"
tags:
- "v*"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
- run: go mod tidy
- run: go test -v ./...
dependabot:
needs: [build]
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- id: metadata
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- run: |
gh pr review --approve "$PR_URL"
gh pr merge --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}