Run Github Actions when pull requests have a specific label
问题 After reading the documentation of the Events that trigger workflows, I wonder if it's possible to run a workflow with a given label name , like RFR or WIP. I know we can run a workflow when the pull request is labeled, but there is nothing more for a specifc label name : on: pull_request: types: [labeled] Has anyone done this before ? 回答1: You can achieve running a workflow on labeling a Pull Request using a conditional expression like if: ${{ github.event.label.name == 'label_name' }} So if