Run Prettier on scaffolder-backend files

Signed-off-by: Thomas Viaud <t.viaud@elsevier.com>
This commit is contained in:
Thomas Viaud
2021-04-30 11:28:59 +01:00
parent 69eefb5aeb
commit 900cb4c39d
2 changed files with 15 additions and 6 deletions
+12 -5
View File
@@ -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`.
@@ -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) {