Skip to content

Update aws-actions/configure-aws-credentials action to v4 #152

Update aws-actions/configure-aws-credentials action to v4

Update aws-actions/configure-aws-credentials action to v4 #152

name: Enable auto merge
on:
pull_request:
types:
- opened
- reopened
branches:
- main
- develop
- na2na
jobs:
enable-auto-merge:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Generate github token
id: generate_token
uses: ./.github/actions/github-app-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- uses: alexwilson/enable-github-automerge-action@main
with:
github-token: ${{ steps.generate_token.outputs.token }}