build(deps): bump github.com/carapace-sh/carapace from 1.13.2 to 1.13.3 #190
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: dependabot | |
| on: pull_request | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| botocore: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/carapace-sh/go:1.25.4 | |
| if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'carapace-sh/carapace-aws' | |
| steps: | |
| - name: deep clone | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: fix git safe.directory | |
| run: git config --global --add safe.directory '*' | |
| - name: generate | |
| run: go generate ./... | |
| - name: push | |
| run: | | |
| if [ ! -z "$(git status --porcelain)" ]; then | |
| git config user.name rsteube-bot | |
| git config user.email rsteube-bot@users.noreply.github.com | |
| git add -A | |
| git commit -m "updated botocore" | |
| git push https://rsteube-bot:${DEPENDABOT_TOKEN}@github.com/carapace-sh/carapace-aws.git HEAD:${GITHUB_HEAD_REF} | |
| fi | |
| env: | |
| DEPENDABOT_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }} | |
| auto-merge: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'carapace-sh/carapace-aws' | |
| needs: botocore | |
| steps: | |
| - name: approve | |
| run: gh pr review --approve "$PR_URL" | |
| env: | |
| PR_URL: ${{github.event.pull_request.html_url}} | |
| GH_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - name: merge | |
| run: gh pr merge --auto --merge "$PR_URL" | |
| env: | |
| PR_URL: ${{github.event.pull_request.html_url}} | |
| GH_TOKEN: ${{secrets.DEPENDABOT_TOKEN}} |