зеркало из https://github.com/github/docs.git
Block JavaScript changes to support CommonJS -> ESM (#20039)
* Block JavaScript changes to support CommonJS -> ESM * Update block-js-changes.yml
This commit is contained in:
Родитель
924be90c80
Коммит
493b50c13c
|
@ -0,0 +1,19 @@
|
|||
name: Block JavaScript Change
|
||||
|
||||
# **What it does**: Blocks JavaScript file changes.
|
||||
# **Why we have it**: We need to freeze JavaScript file changes in order to upgrade from CommonJS to ESM.
|
||||
# **Who does it impact**: Engineers.
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
paths:
|
||||
- '**.js'
|
||||
|
||||
jobs:
|
||||
block:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fail
|
||||
run: |
|
||||
echo 'JavaScript files are frozen currently. Ask in Slack for help.'
|
||||
exit 1
|
Загрузка…
Ссылка в новой задаче