fix(web): generate .swcrc file with modern defaults when creating new webapps #6207
Workflow file for this run
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: Unmergable Labels Check | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened, labeled, unlabeled] | |
jobs: | |
do-not-merge: | |
if: ${{ github.repository_owner == 'nrwl' }} | |
name: Prevent Merging | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for label | |
run: | | |
echo "${{ toJSON(github.event.*.labels.*.name) }}" | |
node -e 'const forbidden = ["target: next major version", "pr status: needs tests", "pr status: in-progress", "blocked: needs rebase", "pr status: do not merge"]; | |
const match = ${{ toJSON(github.event.*.labels.*.name) }}.find(l => forbidden.includes(l.toLowerCase())); | |
if (match) { | |
console.log("Cannot merge PRs that are labeled with " + match); | |
process.exit(1) | |
}' |