Update dealerdirect/phpcodesniffer-composer-installer requirement from ^0.7 to ^1.0 #138
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_target: | |
branches: | |
- master | |
permissions: read-all | |
jobs: | |
auto-merge: | |
name: Check and enable auto-merge | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
timeout-minutes: 2 | |
steps: | |
- name: Get Dependabot metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@5e5f99653a5b510e8555840e80cbf1514ad4af38 # v2.1.0 | |
- name: Enable auto-merge for minor and patch version updates | |
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }} | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.REQUIRED_COM_REPO_ACCESS_PAT }} |