We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56bb0f0 commit e3e2cd9Copy full SHA for e3e2cd9
.github/workflows/codeql.yml
@@ -1,7 +1,13 @@
1
name: "CodeQL"
2
3
on:
4
- workflow_call: {}
+ workflow_call:
5
+ inputs:
6
+ publish:
7
+ type: boolean
8
+ description: "Publish SARIF"
9
+ default: true
10
+
11
workflow_dispatch: {}
12
push:
13
branches: ["master"]
.github/workflows/on.pr.yml
@@ -26,7 +26,7 @@ jobs:
26
contents: write
27
id-token: write
28
with:
29
- provenance: true
+ provenance: ${{ github.event.pull_request.head.repo.full_name == 'google/guava' }}
30
provenance_publish: false
31
snapshot: false
32
@@ -62,3 +62,5 @@ jobs:
62
actions: read
63
contents: read
64
security-events: write
65
+ with:
66
+ publish: ${{ github.event.pull_request.head.repo.full_name == 'google/guava' }}
0 commit comments