When creating a GitHub App using the manifest flow is there any way to specify the permission level (read/write/none) and path for `single_file` permissions?
I am currently investigating using the probot base template, which results in an app.yml manifest. However there is no entry for `single_file` in there. If I add
I get an error stating that name path is requried
Is there any way to include this in the manifest format?
Solved! Solved! Go to Solution.
After analyzing the update behavior for an existing test app, I noted that this can be achieved by:
default_permissions: # other permissions... single_file: write
and then in the standard metadata for the manifest (where name, url, description, etc. are):
singe_file_name: <path to the file>
and this gave the expected behavior via the manifest flow.