github.com/leeclow-ops/gophercloud@v1.2.1/.github/workflows/semver-unlabel.yaml (about)

     1  name: Reset PR labels on push
     2  
     3  # **What it does**: When the content of a PR changes, this workflow removes the semver label
     4  # **Why we have it**: To make sure semver labels are up-to-date.
     5  # **Who does it impact**: Pull requests.
     6  
     7  on:
     8    pull_request_target:
     9      types:
    10        - synchronize
    11  
    12  jobs:
    13    semver:
    14      runs-on: ubuntu-latest
    15      steps:
    16        - name: Remove the semver label
    17          uses: andymckay/labeler@1.0.4
    18          env:
    19            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    20          with:
    21            remove-labels: "semver:patch, semver:minor, semver:major"