chore(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.18.0 to 0.19.4 #18
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 | |
on: | |
pull_request: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependabot: | |
if: github.triggering_actor == 'dependabot[bot]' | |
name: Auto merge pull requests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dependabot/[email protected] | |
id: dependabot-metadata | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Approve Dependabot PR | |
run: gh pr review --approve "${PR_URL}" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.MACHINE_TOKEN }} | |
- if: | | |
steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch' || | |
contains(github.event.pull_request.labels.*.name, 'github_actions') | |
name: Enable auto-merge for Dependabot PR | |
run: gh pr merge --auto --merge "${PR_URL}" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |