Skip to content

ci: add CODECOV_TOKEN to fix unknown badge #4

ci: add CODECOV_TOKEN to fix unknown badge

ci: add CODECOV_TOKEN to fix unknown badge #4

Workflow file for this run

name: Auto-merge dev→main
on:
pull_request:
types: [opened, reopened, synchronize]
branches: [main]
jobs:
enable-auto-merge:
runs-on: ubuntu-latest
if: github.head_ref == 'dev'
permissions:
pull-requests: write
contents: write
steps:
- name: Enable auto-merge
run: gh pr merge --auto --merge "${{ github.event.pull_request.number }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}