chore(deps): bump github.com/codacy/codacy-engine-golang-seed/v6 from 6.4.0 to 6.4.3 #5
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
| # Automatically merge (using squash) dependency update PRs, opened by Dependabot, under the following conditions: | |
| # | |
| # - PR was opened by dependabot[bot]. | |
| # - Dependency update is a minor or patch update. This is determined based on Dependabot's metadata. | |
| # - Configured required checks pass. | |
| # | |
| # PRs are approved and merged by user codacybeta (https://github.com/orgs/codacy/people/codacybeta), using its | |
| # AUTO_MERGE_TOKEN. | |
| name: Auto-merge Dependabot dependency updates | |
| on: | |
| pull_request: | |
| jobs: | |
| auto-merge: | |
| name: Auto-merge Dependabot dependency updates | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.user.login == 'dependabot[bot]' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Get Dependabot metadata | |
| id: metadata | |
| uses: dependabot/fetch-metadata@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Approve PR and set it to auto-merge | |
| if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' | |
| run: | | |
| gh pr review --approve ${{ github.event.pull_request.number }} | |
| gh pr merge --squash --auto ${{ github.event.pull_request.number }} | |
| env: | |
| GH_TOKEN: ${{ secrets.AUTO_MERGE_TOKEN }} |