1
0
mirror of synced 2026-01-06 06:02:35 -05:00

Don't allow public contributions to 'actions/deployment/security-hardening-your-deployments/' files (#25406)

see docs-engineering#1506
This commit is contained in:
Robert Sese
2022-02-16 11:57:50 -06:00
committed by GitHub
parent ab3dea211b
commit 78863495d2

View File

@@ -21,6 +21,7 @@ on:
- 'package*.json'
- 'script/**'
- 'translations/**'
- 'content/actions/deployment/security-hardening-your-deployments/**'
permissions:
pull-requests: write
@@ -67,6 +68,7 @@ jobs:
- 'package*.json'
- 'scripts/**'
- 'translations/**'
- 'content/actions/deployment/security-hardening-your-deployments/**'
# When there are changes to files we can't accept, leave a comment
# explaining this to the PR author
@@ -90,6 +92,7 @@ jobs:
'package*.json',
'scripts/**',
'translations/**',
'content/actions/deployment/security-hardening-your-deployments/**',
]
const badFiles = badFilesArr.join('\n')