chore(deps): update module github.com/vektra/mockery/v2 to v3 #22
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
| # Copyright (c) Codesphere Inc. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: Update NOTICE | |
| permissions: | |
| contents: write | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| # NOTICE only changes when dependencies change. | |
| paths: | |
| - go.mod | |
| - go.sum | |
| jobs: | |
| update-notice: | |
| # Skip the bot's own commits (loop guard) and Renovate branches. | |
| if: github.actor != 'github-actions[bot]' && !startsWith(github.event.pull_request.head.ref, 'renovate/') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR head | |
| uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| - name: Set up Go | |
| uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Regenerate NOTICE | |
| run: make generate-notice | |
| - name: Commit NOTICE if changed | |
| uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9 | |
| with: | |
| add: NOTICE | |
| message: 'chore: update NOTICE' | |
| commit: '--signoff' |