You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted safe-publish label to be automatically unlabeled when it's labeled.
(Scenario: Human labels PR, and some workflows are run, and then the label is to be removed.)
.github/workflows/main.yaml:
name: mainon:
pull_request_target:
types: [labeled] # <-- The workflow is triggered when it's labeled.jobs:
main:
permissions:
contents: write issues: writepull-requests: write runs-on: ubuntu-lateststeps:
# - name: do something..... (Omitted for brevity)
- name: unlabel # <-- I want to remove the label from the PRif: contains(github.event.pull_request.labels.*.name, 'safe-publish')uses: dessant/label-actions@v4with:
github-token: ${{ secrets.GITHUB_TOKEN }}
.github/label-actions.yml:
'safe-publish':
prs:
unlabel:
- 'safe-publish'
The text was updated successfully, but these errors were encountered:
Hi!
I wonder what this error means.
Background:
I wanted
safe-publish
label to be automatically unlabeled when it's labeled.(Scenario: Human labels PR, and some workflows are run, and then the label is to be removed.)
.github/workflows/main.yaml:
.github/label-actions.yml:
The text was updated successfully, but these errors were encountered: