Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5edb90f

Browse files
Added step to give read write permission to action
1 parent 8176a69 commit 5edb90f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ GitHub Action for automatically syncing LeetCode submissions to a GitHub reposit
2828
3. Add the values from step 1 as [GitHub secrets](https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository),
2929
e.g. `LEETCODE_CSRF_TOKEN` and `LEETCODE_SESSION`.
3030

31-
4. Add a workflow file with this action under the `.github/workflows` directory, e.g. `sync_leetcode.yml`.
31+
4. Go to REPO > settings > actions and in Workflow Permissions section give actions Read and Write permissions.
32+
33+
5. Add a workflow file with this action under the `.github/workflows` directory, e.g. `sync_leetcode.yml`.
3234

3335
Example workflow file:
3436

@@ -54,7 +56,7 @@ GitHub Action for automatically syncing LeetCode submissions to a GitHub reposit
5456
destination-folder: my-folder
5557
```
5658
57-
5. After you've submitted a LeetCode solution, run the workflow by going to the `Actions` tab, clicking the action name, e.g. `Sync Leetcode`, and then clicking `Run workflow`. The workflow will also automatically run once a week by default (can be configured via the `cron` parameter).
59+
6. After you've submitted a LeetCode solution, run the workflow by going to the `Actions` tab, clicking the action name, e.g. `Sync Leetcode`, and then clicking `Run workflow`. The workflow will also automatically run once a week by default (can be configured via the `cron` parameter).
5860

5961
## Inputs
6062

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /