pybind11/.github/workflows/labeler.yml

16 lines
399 B
YAML
Raw Normal View History

name: PR merged
on:
2020-10-02 21:09:58 +00:00
pull_request_target:
types: [opened, reopened, synchronize, edited, closed]
jobs:
label-merged:
name: Changelog needed
runs-on: ubuntu-latest
if: "!(github.event.action == 'closed' && github.event.pull_request.merged == false)"
steps:
- uses: actions/labeler@main
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true