Skip to content

Commit 067025c

Browse files
authored
chore: fix webhooks-to-contexts target (#928)
1 parent a5abd91 commit 067025c

File tree

2 files changed

+25
-16
lines changed

2 files changed

+25
-16
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ refresh-schemas:
3232
curl https://www.schemastore.org/github-action.json > crates/zizmor/src/data/github-action.json
3333

3434
.PHONY: webhooks-to-contexts
35-
webhooks-to-contexts: support/known-safe-contexts.txt
36-
37-
support/known-safe-contexts.txt: support/webhooks-to-contexts.py
38-
$<
35+
webhooks-to-contexts:
36+
support/webhooks-to-contexts.py
3937

4038
.PHONY: codeql-injection-sinks
4139
codeql-injection-sinks: crates/zizmor/data/codeql-injection-sinks.json

crates/zizmor/data/context-capabilities.csv

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,14 @@ github.event.changes.old_issue.sub_issues_summary.percent_completed,fixed
900900
github.event.changes.old_issue.sub_issues_summary.total,fixed
901901
github.event.changes.old_issue.timeline_url,structured
902902
github.event.changes.old_issue.title,arbitrary
903+
github.event.changes.old_issue.type.color,fixed
904+
github.event.changes.old_issue.type.created_at,fixed
905+
github.event.changes.old_issue.type.description,arbitrary
906+
github.event.changes.old_issue.type.id,fixed
907+
github.event.changes.old_issue.type.is_enabled,fixed
908+
github.event.changes.old_issue.type.name,arbitrary
909+
github.event.changes.old_issue.type.node_id,arbitrary
910+
github.event.changes.old_issue.type.updated_at,fixed
903911
github.event.changes.old_issue.updated_at,fixed
904912
github.event.changes.old_issue.url,structured
905913
github.event.changes.old_issue.user.avatar_url,structured
@@ -1054,7 +1062,6 @@ github.event.changes.tag_name.from,arbitrary
10541062
github.event.changes.title.from,arbitrary
10551063
github.event.check_run.app,fixed
10561064
github.event.check_run.app.client_id,arbitrary
1057-
github.event.check_run.app.client_secret,arbitrary
10581065
github.event.check_run.app.created_at,fixed
10591066
github.event.check_run.app.description,arbitrary
10601067
github.event.check_run.app.events.*,arbitrary
@@ -1091,7 +1098,6 @@ github.event.check_run.app.owner.updated_at,fixed
10911098
github.event.check_run.app.owner.url,structured
10921099
github.event.check_run.app.owner.user_view_type,arbitrary
10931100
github.event.check_run.app.owner.website_url,structured
1094-
github.event.check_run.app.pem,arbitrary
10951101
github.event.check_run.app.permissions.*,arbitrary
10961102
github.event.check_run.app.permissions.checks,arbitrary
10971103
github.event.check_run.app.permissions.contents,arbitrary
@@ -1100,10 +1106,8 @@ github.event.check_run.app.permissions.issues,arbitrary
11001106
github.event.check_run.app.permissions.metadata,arbitrary
11011107
github.event.check_run.app.slug,arbitrary
11021108
github.event.check_run.app.updated_at,fixed
1103-
github.event.check_run.app.webhook_secret,arbitrary
11041109
github.event.check_run.check_suite.after,arbitrary
11051110
github.event.check_run.check_suite.app.client_id,arbitrary
1106-
github.event.check_run.check_suite.app.client_secret,arbitrary
11071111
github.event.check_run.check_suite.app.created_at,fixed
11081112
github.event.check_run.check_suite.app.description,arbitrary
11091113
github.event.check_run.check_suite.app.events.*,arbitrary
@@ -1140,7 +1144,6 @@ github.event.check_run.check_suite.app.owner.updated_at,fixed
11401144
github.event.check_run.check_suite.app.owner.url,structured
11411145
github.event.check_run.check_suite.app.owner.user_view_type,arbitrary
11421146
github.event.check_run.check_suite.app.owner.website_url,structured
1143-
github.event.check_run.check_suite.app.pem,arbitrary
11441147
github.event.check_run.check_suite.app.permissions.*,arbitrary
11451148
github.event.check_run.check_suite.app.permissions.checks,arbitrary
11461149
github.event.check_run.check_suite.app.permissions.contents,arbitrary
@@ -1149,7 +1152,6 @@ github.event.check_run.check_suite.app.permissions.issues,arbitrary
11491152
github.event.check_run.check_suite.app.permissions.metadata,arbitrary
11501153
github.event.check_run.check_suite.app.slug,arbitrary
11511154
github.event.check_run.check_suite.app.updated_at,fixed
1152-
github.event.check_run.check_suite.app.webhook_secret,arbitrary
11531155
github.event.check_run.check_suite.before,arbitrary
11541156
github.event.check_run.check_suite.conclusion,fixed
11551157
github.event.check_run.check_suite.created_at,fixed
@@ -1309,7 +1311,6 @@ github.event.check_run.deployment.node_id,arbitrary
13091311
github.event.check_run.deployment.original_environment,arbitrary
13101312
github.event.check_run.deployment.performed_via_github_app,fixed
13111313
github.event.check_run.deployment.performed_via_github_app.client_id,arbitrary
1312-
github.event.check_run.deployment.performed_via_github_app.client_secret,arbitrary
13131314
github.event.check_run.deployment.performed_via_github_app.created_at,fixed
13141315
github.event.check_run.deployment.performed_via_github_app.description,arbitrary
13151316
github.event.check_run.deployment.performed_via_github_app.events.*,arbitrary
@@ -1346,7 +1347,6 @@ github.event.check_run.deployment.performed_via_github_app.owner.updated_at,fixe
13461347
github.event.check_run.deployment.performed_via_github_app.owner.url,structured
13471348
github.event.check_run.deployment.performed_via_github_app.owner.user_view_type,arbitrary
13481349
github.event.check_run.deployment.performed_via_github_app.owner.website_url,structured
1349-
github.event.check_run.deployment.performed_via_github_app.pem,arbitrary
13501350
github.event.check_run.deployment.performed_via_github_app.permissions.*,arbitrary
13511351
github.event.check_run.deployment.performed_via_github_app.permissions.checks,arbitrary
13521352
github.event.check_run.deployment.performed_via_github_app.permissions.contents,arbitrary
@@ -1355,7 +1355,6 @@ github.event.check_run.deployment.performed_via_github_app.permissions.issues,ar
13551355
github.event.check_run.deployment.performed_via_github_app.permissions.metadata,arbitrary
13561356
github.event.check_run.deployment.performed_via_github_app.slug,arbitrary
13571357
github.event.check_run.deployment.performed_via_github_app.updated_at,fixed
1358-
github.event.check_run.deployment.performed_via_github_app.webhook_secret,arbitrary
13591358
github.event.check_run.deployment.production_environment,fixed
13601359
github.event.check_run.deployment.repository_url,structured
13611360
github.event.check_run.deployment.statuses_url,structured
@@ -1525,7 +1524,6 @@ github.event.comment.parent_id,fixed
15251524
github.event.comment.path,arbitrary
15261525
github.event.comment.performed_via_github_app,fixed
15271526
github.event.comment.performed_via_github_app.client_id,arbitrary
1528-
github.event.comment.performed_via_github_app.client_secret,arbitrary
15291527
github.event.comment.performed_via_github_app.created_at,fixed
15301528
github.event.comment.performed_via_github_app.description,arbitrary
15311529
github.event.comment.performed_via_github_app.events.*,arbitrary
@@ -1562,7 +1560,6 @@ github.event.comment.performed_via_github_app.owner.updated_at,fixed
15621560
github.event.comment.performed_via_github_app.owner.url,structured
15631561
github.event.comment.performed_via_github_app.owner.user_view_type,arbitrary
15641562
github.event.comment.performed_via_github_app.owner.website_url,structured
1565-
github.event.comment.performed_via_github_app.pem,arbitrary
15661563
github.event.comment.performed_via_github_app.permissions.*,arbitrary
15671564
github.event.comment.performed_via_github_app.permissions.checks,arbitrary
15681565
github.event.comment.performed_via_github_app.permissions.contents,arbitrary
@@ -1571,7 +1568,6 @@ github.event.comment.performed_via_github_app.permissions.issues,arbitrary
15711568
github.event.comment.performed_via_github_app.permissions.metadata,arbitrary
15721569
github.event.comment.performed_via_github_app.slug,arbitrary
15731570
github.event.comment.performed_via_github_app.updated_at,fixed
1574-
github.event.comment.performed_via_github_app.webhook_secret,arbitrary
15751571
github.event.comment.position,fixed
15761572
github.event.comment.pull_request_review_id,fixed
15771573
github.event.comment.pull_request_url,structured
@@ -2001,6 +1997,16 @@ github.event.discussion.user.subscriptions_url,structured
20011997
github.event.discussion.user.type,fixed
20021998
github.event.discussion.user.url,structured
20031999
github.event.discussion.user.user_view_type,arbitrary
2000+
github.event.enterprise.avatar_url,structured
2001+
github.event.enterprise.created_at,fixed
2002+
github.event.enterprise.description,arbitrary
2003+
github.event.enterprise.html_url,structured
2004+
github.event.enterprise.id,fixed
2005+
github.event.enterprise.name,arbitrary
2006+
github.event.enterprise.node_id,arbitrary
2007+
github.event.enterprise.slug,arbitrary
2008+
github.event.enterprise.updated_at,fixed
2009+
github.event.enterprise.website_url,structured
20042010
github.event.forced,fixed
20052011
github.event.forkee.allow_auto_merge,fixed
20062012
github.event.forkee.allow_forking,fixed
@@ -2597,6 +2603,8 @@ github.event.pull_request.base.repo.assignees_url,arbitrary
25972603
github.event.pull_request.base.repo.blobs_url,arbitrary
25982604
github.event.pull_request.base.repo.branches_url,arbitrary
25992605
github.event.pull_request.base.repo.clone_url,arbitrary
2606+
github.event.pull_request.base.repo.code_search_index_status.lexical_commit_sha,arbitrary
2607+
github.event.pull_request.base.repo.code_search_index_status.lexical_search_ok,fixed
26002608
github.event.pull_request.base.repo.collaborators_url,arbitrary
26012609
github.event.pull_request.base.repo.comments_url,arbitrary
26022610
github.event.pull_request.base.repo.commits_url,arbitrary
@@ -2766,6 +2774,8 @@ github.event.pull_request.head.repo.assignees_url,arbitrary
27662774
github.event.pull_request.head.repo.blobs_url,arbitrary
27672775
github.event.pull_request.head.repo.branches_url,arbitrary
27682776
github.event.pull_request.head.repo.clone_url,arbitrary
2777+
github.event.pull_request.head.repo.code_search_index_status.lexical_commit_sha,arbitrary
2778+
github.event.pull_request.head.repo.code_search_index_status.lexical_search_ok,fixed
27692779
github.event.pull_request.head.repo.collaborators_url,arbitrary
27702780
github.event.pull_request.head.repo.comments_url,arbitrary
27712781
github.event.pull_request.head.repo.commits_url,arbitrary
@@ -3279,6 +3289,7 @@ github.event.registry_package.updated_at,arbitrary
32793289
github.event.release.assets.*.browser_download_url,structured
32803290
github.event.release.assets.*.content_type,arbitrary
32813291
github.event.release.assets.*.created_at,fixed
3292+
github.event.release.assets.*.digest,arbitrary
32823293
github.event.release.assets.*.download_count,fixed
32833294
github.event.release.assets.*.id,fixed
32843295
github.event.release.assets.*.label,arbitrary

0 commit comments

Comments
 (0)