chore(mac): migrate configuration files to macOS and update ignore patterns #290
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: Pull Requests Auto-Merge | |
on: | |
workflow_call: | |
pull_request: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-latest | |
steps: | |
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request | |
- name: Auto-Merge Dependabot Pull Requests | |
if: > | |
github.actor == env.DEPENDABOT_USERNAME || | |
github.event.pull_request.user.login == env.DEPENDABOT_USERNAME | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
DEPENDABOT_USERNAME: dependabot[bot] | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |