Run Prettier on scaffolder-backend files
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com>
This commit is contained in:
@@ -3,16 +3,23 @@
|
||||
Welcome to the scaffolder plugin!
|
||||
|
||||
## Jobs
|
||||
|
||||
Documentation for `Jobs` here
|
||||
|
||||
## Stages
|
||||
|
||||
Documentation for `Stages` here
|
||||
|
||||
## Tasks
|
||||
|
||||
Documentation for `Tasks` here
|
||||
|
||||
## Actions
|
||||
|
||||
### Built-in:
|
||||
* #### GitHub Pull Request
|
||||
* Minimum permissions required for GitHub App for creating a Pull Request with the built-in action:
|
||||
- Read and Write permissions for `Contents`.
|
||||
- Read and write permissions for `Pull Requests` and `Issues`.
|
||||
- Read permissions on `Metadata`.
|
||||
|
||||
- #### GitHub Pull Request
|
||||
- Minimum permissions required for GitHub App for creating a Pull Request with the built-in action:
|
||||
- Read and Write permissions for `Contents`.
|
||||
- Read and write permissions for `Pull Requests` and `Issues`.
|
||||
- Read permissions on `Metadata`.
|
||||
|
||||
+3
-1
@@ -87,7 +87,9 @@ export const defaultClientFactory = async ({
|
||||
}
|
||||
|
||||
const { token } = await credentialsProvider.getCredentials({
|
||||
url: `https://${host}/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}`,
|
||||
url: `https://${host}/${encodeURIComponent(owner)}/${encodeURIComponent(
|
||||
repo,
|
||||
)}`,
|
||||
});
|
||||
|
||||
if (!token) {
|
||||
|
||||
Reference in New Issue
Block a user