Skip to content

Bump aws-cdk-lib from 2.150.0 to 2.151.0 #8

Bump aws-cdk-lib from 2.150.0 to 2.151.0

Bump aws-cdk-lib from 2.150.0 to 2.151.0 #8

# Taken from:
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#approve-a-pull-request
name: Dependabot Auto-Approve PR's
on:
pull_request: {}
permissions:
pull-requests: write
jobs:
debug:
runs-on: ubuntu-latest
steps:
- name: debug
run: |
echo "Hello, world!"
echo ${{ github.actor }}
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}