Commit b348867
committed
Configure GITHUB_TOKEN permissions to support workflow use in private repositories
Read permissions are required in the "contents" scope in order to checkout private repositories.
Even though those permissions are not required in this project where the workflow is installed in a public repository,
this is a copy of a "template" that is intended to be applicable to any Arduino Tooling project.
A small excess in permissions in the template was chosen instead of the alternative of having to maintain separate
variants of each workflow for use in public or private repos.1 parent 787ab78 commit b348867
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
0 commit comments