Merge branch 'trunk' into kw/fix-file-not-found-in-help-wanted-workflow-2

This commit is contained in:
Kynan Ware 2025-06-16 11:59:31 -06:00 committed by GitHub
commit 2609b4e283
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

3
.github/secret_scanning.yml vendored Normal file
View file

@ -0,0 +1,3 @@
paths-ignore:
- 'third-party/**'
- 'third-party-licenses.*.md'

View file

@ -32,6 +32,10 @@ jobs:
with:
languages: ${{ matrix.language }}
queries: security-and-quality
config: |
paths-ignore:
- 'third-party/**'
- 'third-party-licenses.*.md'
- name: Setup Go
if: matrix.language == 'go'

View file

@ -20,7 +20,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
PR_AUTHOR_TYPE: ${{ github.event.pull_request.user.type }}
if: !github.event.pull_request.draft
if: "!github.event.pull_request.draft"
run: |
# Skip if PR is from a bot or org member
if [ "$PR_AUTHOR_TYPE" = "Bot" ] || "gh api orgs/cli/public_members/${PR_AUTHOR}" --silent 2>/dev/null