Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
66 changes: 0 additions & 66 deletions .github/workflows/audit-fix.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/auto-approve-merge.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Lint
- name: Format
run: npx biome ci .

lint:
Expand Down
21 changes: 13 additions & 8 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
name: Dependabot Auto-merge
name: Auto merge Dependabot pull requests

on:
pull_request:
branches: ["main"]
pull_request_target:
types:
- labeled
- opened
- synchronize
- reopened
- ready_for_review

permissions:
contents: write
pull-requests: write

jobs:
auto-merge:
name: Auto-merge dependabot pull requests
name: Auto merge Dependabot pull requests
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Approve
run: gh pr review "$PR_URL" --approve --comment --body "Auto-approve Dependabot pull requests"
run: gh pr review "$PR_NUMBER" --approve
env:
PR_URL: ${{ github.event.pull_request.html_url }}
PR_NUMBER: ${{ github.event.number }}
GH_TOKEN: ${{ secrets.LOCALSTACK_BOT_TOKEN }}
- name: Enable auto-merge
run: gh pr merge "$PR_URL" --auto --squash
run: gh pr merge "$PR_NUMBER" --auto --squash
env:
PR_URL: ${{ github.event.pull_request.html_url }}
PR_NUMBER: ${{ github.event.number }}
GH_TOKEN: ${{ secrets.LOCALSTACK_BOT_TOKEN }}
Loading