fix: trim newlines from files reading by secrets #942
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: Validate Pull Request | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- labeled | |
- unlabeled | |
jobs: | |
required-labels-missing: | |
name: required labels missing | |
runs-on: ubuntu-latest | |
steps: | |
- name: check | |
if: >- | |
!contains(github.event.pull_request.labels.*.name, '💥 breaking-change') | |
&& !contains(github.event.pull_request.labels.*.name, '✨ enhancement') | |
&& !contains(github.event.pull_request.labels.*.name, '🐞 bug') | |
&& !contains(github.event.pull_request.labels.*.name, '📖 docs') | |
&& !contains(github.event.pull_request.labels.*.name, 'chore') | |
&& !contains(github.event.pull_request.labels.*.name, '🛠️ dependencies') | |
run: >- | |
echo One of the following labels is missing on this PR: | |
breaking-change | |
enhancement | |
bug | |
docs | |
chore | |
&& exit 1 |