Skip to content

Drop CentOS 8 testing, add Ansible 2.17 testing and fix issue installing Smallstep CLI packages > v0.27.2 #27

Drop CentOS 8 testing, add Ansible 2.17 testing and fix issue installing Smallstep CLI packages > v0.27.2

Drop CentOS 8 testing, add Ansible 2.17 testing and fix issue installing Smallstep CLI packages > v0.27.2 #27

name: Dependabot Auto-Approve and Merge
on:
pull_request:
paths:
- ".github/workflows/**"
- "requirements/**"
- "requirements.txt"
permissions:
contents: write
pull-requests: write
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Auto-approve bot PR
run: gh pr review --approve "$PR_URL"
- name: Auto-merge bot PRs
run: gh pr merge --auto --merge "$PR_URL"