Skip to content

Commit 1e7cfdd

Browse files
committed
update some workflows to disable lockdown mode
1 parent 138f589 commit 1e7cfdd

7 files changed

Lines changed: 48 additions & 0 deletions

File tree

.github/aw/actions-lock.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"version": "v4",
66
"sha": "34e114876b0b11c390a56381ad16ebd13914f8d5"
77
},
8+
"actions/checkout@v5": {
9+
"repo": "actions/checkout",
10+
"version": "v5",
11+
"sha": "93cb6efe18208431cddfb8368fd83d5badbf9bfd"
12+
},
813
"actions/github-script@v8": {
914
"repo": "actions/github-script",
1015
"version": "v8",

workflows/contribution-guidelines-checker.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ safe-outputs:
2424
tools:
2525
github:
2626
toolsets: [default]
27+
# If in a public repo, setting `lockdown: false` allows
28+
# reading issues, pull requets and comments from 3rd-parties
29+
# If in a private repo this has no particular effect.
30+
#
31+
# This is important for this workflow to be able to read contribution guidelines
32+
lockdown: false
2733

2834
timeout-minutes: 10
2935
---

workflows/daily-plan.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ safe-outputs:
2222
tools:
2323
github:
2424
toolsets: [all]
25+
# If in a public repo, setting `lockdown: false` allows
26+
# reading issues, pull requets and comments from 3rd-parties
27+
# If in a private repo this has no particular effect.
28+
lockdown: false
2529
web-fetch:
2630

2731
timeout-minutes: 15

workflows/daily-repo-status.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ network: defaults
1818

1919
tools:
2020
github:
21+
# If in a public repo, setting `lockdown: false` allows
22+
# reading issues, pull requets and comments from 3rd-parties
23+
# If in a private repo this has no particular effect.
24+
lockdown: false
2125

2226
safe-outputs:
2327
create-issue:

workflows/issue-triage.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ safe-outputs:
2222

2323
tools:
2424
web-fetch:
25+
github:
26+
toolsets: [issues]
27+
# If in a public repo, setting `lockdown: false` allows
28+
# reading issues, pull requets and comments from 3rd-parties
29+
# If in a private repo this has no particular effect.
30+
lockdown: false
2531

2632
timeout-minutes: 10
2733
---

workflows/plan.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
---
22
name: Plan Command
33
description: Generates project plans and task breakdowns when invoked with /plan command in issues or PRs
4+
45
on:
56
slash_command:
67
name: plan
78
events: [issue_comment, discussion_comment]
9+
810
permissions:
911
contents: read
1012
discussions: read
1113
issues: read
1214
pull-requests: read
15+
1316
engine: copilot
17+
1418
tools:
1519
github:
1620
toolsets: [default, discussions]
21+
# If in a public repo, setting `lockdown: false` allows
22+
# reading issues, pull requets and comments from 3rd-parties
23+
# If in a private repo this has no particular effect.
24+
#
25+
# This allows the maintainer to use /plan in discussions and issues created
26+
# by 3rd parties, and to read the content of those discussions and issues
27+
# turning the content into actionable tasks.
28+
lockdown: false
29+
1730
safe-outputs:
1831
create-issue:
1932
title-prefix: "[task] "

workflows/repo-ask.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ safe-outputs:
2121
tools:
2222
web-fetch:
2323
bash: true
24+
github:
25+
toolsets: [default, discussions]
26+
# If in a public repo, setting `lockdown: false` allows
27+
# reading issues, pull requets and comments from 3rd-parties
28+
# If in a private repo this has no particular effect.
29+
#
30+
# This allows the maintainer to use /repo-ask in discussions and issues created
31+
# by 3rd parties, and to read the content of those discussions and issues
32+
# turning the content into actionable tasks.
33+
lockdown: false
2434

2535
timeout-minutes: 20
2636

0 commit comments

Comments
 (0)