Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/dependabot-auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@
# Only run on Dependabot PRs
if: github.event.pull_request.user.login == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
Comment thread Fixed
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Install Python 3.11
uses: actions/setup-python@v4
Expand All @@ -38,6 +42,18 @@
- name: Lint (make lint)
run: make lint

- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
if git status --porcelain | grep .; then
git add -A
git commit -m "mesh-2092: apply make update changes"
git push
else
echo "No changes to commit"
fi

enable-automerge:
# Only run on Dependabot PRs after make update succeeds
if: github.event.pull_request.user.login == 'dependabot[bot]'
Expand Down