Secret scanning pipeline small updates (#51286)
This commit is contained in:
@@ -20,7 +20,8 @@ on:
|
||||
- '**.tsx'
|
||||
- '**.scss'
|
||||
- 'src/**'
|
||||
- '!src/**.json' # So that Docs Engineering isn't reviewing OpenAPI PRs
|
||||
- '!src/**.json' # So that Docs Engineering isn't reviewing automated pipeline data PRs
|
||||
- '!src/**.yml' # So that Docs Engineering isn't reviewing automated pipeline data PRs
|
||||
- '.github/**'
|
||||
- '**Dockerfile'
|
||||
- 'package*.json'
|
||||
|
||||
6
.github/workflows/sync-secret-scanning.yml
vendored
6
.github/workflows/sync-secret-scanning.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
run: |
|
||||
npm run sync-secret-scanning
|
||||
|
||||
- name: Create and merge pull request
|
||||
- name: Create a pull request
|
||||
env:
|
||||
# Needed for gh
|
||||
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_READPUBLICKEY }}
|
||||
@@ -70,7 +70,9 @@ jobs:
|
||||
echo "Creating pull request..."
|
||||
gh pr create \
|
||||
--title "Sync secret scanning data" \
|
||||
--body '👋 humans. This PR updates the secret scanning data with the latest changes from github/token-scanning-service.\n\n/cc @github/docs-content-security-products
|
||||
--body '👋 humans. This PR updates the secret scanning data with the latest changes from github/token-scanning-service.
|
||||
|
||||
/cc @github/docs-content-security-products
|
||||
|
||||
If CI does not pass or other problems arise, contact #docs-engineering on slack.' \
|
||||
--repo github/docs-internal \
|
||||
|
||||
Reference in New Issue
Block a user