feat(sbb-dialog): introduce backdrop
property to control backdrop density
#246
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add or remove maintenance labels | |
on: | |
pull_request: | |
types: [opened, edited, labeled] | |
branches: [main] # target branch | |
env: | |
TARGET_RELEASE: 2.x | |
permissions: | |
pull-requests: write | |
jobs: | |
add_label: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.user.login != 'renovate[bot]' | |
steps: | |
- name: Add target label | |
if: "${{ !contains(github.event.pull_request.body, 'BREAKING CHANGE:') && !contains(github.event.pull_request.labels.*.name, 'target: major') }}" | |
uses: actions-ecosystem/action-add-labels@v1 | |
with: | |
labels: 'target: ${{ env.TARGET_RELEASE }}' | |
- name: Remove target label | |
if: "${{ contains(github.event.pull_request.body, 'BREAKING CHANGE:') || contains(github.event.pull_request.labels.*.name, 'target: major') }}" | |
uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
labels: 'target: ${{ env.TARGET_RELEASE }}' |