mirror of
https://github.com/github/codeql.git
synced 2026-03-01 13:23:49 +01:00
qhelp
This commit is contained in:
@@ -46,12 +46,13 @@
|
||||
|
||||
<p>
|
||||
|
||||
The following examples use two triggers to handle potentially untrusted
|
||||
pull request in a secure manner:
|
||||
The following example uses two workflows to handle potentially untrusted
|
||||
pull request in a secure manner. The receive_pr.yml is triggered first:
|
||||
|
||||
</p>
|
||||
|
||||
<sample src="examples/receive_pr.yml" />
|
||||
<p>The comment_pr.yml is triggered after receive_pr.yml completes:</p>
|
||||
<sample src="examples/comment_pr.yml" />
|
||||
|
||||
</example>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# comment_pr.yml
|
||||
name: Comment on the pull request
|
||||
|
||||
# read-write repo token
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# receive_pr.yml
|
||||
name: Receive PR
|
||||
|
||||
# read-only repo token
|
||||
|
||||
Reference in New Issue
Block a user