Skip to content

chore: bump canonical/setup-lxd from 0.1.1 to 0.1.2 in the github_actions group #870

chore: bump canonical/setup-lxd from 0.1.1 to 0.1.2 in the github_actions group

chore: bump canonical/setup-lxd from 0.1.1 to 0.1.2 in the github_actions group #870

Workflow file for this run

name: "Dependabot Auto Approve and Merge"
on:
pull_request:
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- 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}}
# This step will allow Github to auto-merge the PR if branch protection rules are satisfied.
# Branch protection rules should require status checks to pass before merging including all required workflows.
- name: Enable auto-merge
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}