chore(deps): bump @aws-sdk/client-dynamodb from 3.621.0 to 3.622.0 #64
Workflow file for this run
This file contains 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: Auto-merge automated PRs | |
on: pull_request | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest | |
if: | | |
github.actor == 'dependabot[bot]' || ( | |
github.actor == 'laneybot[bot]' && | |
startsWith(github.event.pull_request.head.ref, 'auto-merge/') | |
) | |
steps: | |
- name: Generate installation token | |
id: generate-installation-token | |
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3 | |
with: | |
app-id: ${{ secrets.LANEYBOT_APP_ID }} | |
private-key: ${{ secrets.LANEYBOT_PRIVATE_KEY }} | |
- name: Approve a PR | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GH_TOKEN: ${{ github.token }} | |
run: > | |
gh pr review --approve "${PR_URL}" --body "PR from @${{ github.actor | |
}} automatically approved by the '${{ github.workflow }}' workflow" | |
- name: Enable auto-merge for automated PRs | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ steps.generate-installation-token.outputs.token }} | |
run: gh pr merge --auto --rebase "${PR_URL}" |