Skip to content

build(deps): bump aws from 2.35.11 to 2.35.12 #149

build(deps): bump aws from 2.35.11 to 2.35.12

build(deps): bump aws from 2.35.11 to 2.35.12 #149

Workflow file for this run

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}}