Skip to content

Commit 6d1db01

Browse files
authored
test (#7)
* test * test
1 parent 01539d2 commit 6d1db01

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
pull_request:
55
branches:
66
- master
7-
7+
permissions:
8+
issues: write
9+
pull-requests: write
810
jobs:
911
test_screenshot_action:
1012
runs-on: ubuntu-latest

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ To use this action, you must have the following:
66

77
A GitHub repository with a workflow that triggers on pull request events and a DropBox Access Token. The DropBox token should have the `files.content.write` and the `sharing.write` permission.
88

9+
## Recommended permissions
10+
11+
For the execution of this action, it must be able to comment on a PR.
12+
This can be achieved with the following [configuration in the action](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions) if the permissions are restricted:
13+
14+
```yaml
15+
permissions:
16+
issues: write
17+
pull-requests: write
18+
```
19+
920
## Usage
1021
To use this action in your workflow, follow these steps:
1122

0 commit comments

Comments
 (0)