mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-30 16:19:35 +00:00
b87c1cb514
This is an updated version of the workflow deleted in f5fc3c35f5
,
trying the advice from
https://github.com/cli/cli/issues/6695#issuecomment-1348430969.
21 lines
488 B
YAML
21 lines
488 B
YAML
name: build
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
dependabot-auto-merge:
|
|
name: 'Dependabot auto-merge'
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
steps:
|
|
- name: Enable auto-merge for Dependabot PRs
|
|
run: gh pr merge --auto --rebase "$PR_URL"
|
|
env:
|
|
PR_URL: ${{github.event.pull_request.html_url}}
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|