Skip to content

Commit acfad18

Browse files
committed
Add branding to action.yml
1 parent a62aeef commit acfad18

File tree

2 files changed

+24
-21
lines changed

2 files changed

+24
-21
lines changed

README.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@ To use this action:
1515

1616
3. Add a workflow file with this action under the `.github/workflows` directory, e.g. `sync_leetcode.yml`:
1717

18-
Example workflow file:
19-
20-
```yaml
21-
name: Sync Leetcode
22-
23-
on:
24-
schedule:
25-
- cron: '0 8 * * *'
26-
27-
jobs:
28-
build:
29-
runs-on: ubuntu-latest
30-
31-
steps:
32-
- name: Sync
33-
uses: joshcai/leetcode-sync@v1.0
34-
with:
35-
github-token: ${{ github.token }}
36-
leetcode-csrf-token: ${{ secrets.LEETCODE_CSRF_TOKEN }}
37-
leetcode-session: ${{ secrets.LEETCODE_SESSION }}
38-
```
18+
Example workflow file:
19+
20+
```yaml
21+
name: Sync Leetcode
22+
23+
on:
24+
schedule:
25+
- cron: '0 8 * * *'
26+
27+
jobs:
28+
build:
29+
runs-on: ubuntu-latest
30+
31+
steps:
32+
- name: Sync
33+
uses: joshcai/leetcode-sync@v1.0
34+
with:
35+
github-token: ${{ github.token }}
36+
leetcode-csrf-token: ${{ secrets.LEETCODE_CSRF_TOKEN }}
37+
leetcode-session: ${{ secrets.LEETCODE_SESSION }}
38+
```

action.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: 'LeetCode Sync'
22
description: 'Sync LeetCode submissions to GitHub'
3+
branding:
4+
icon: git-commit
5+
color: yellow
36
inputs:
47
github-token:
58
description: 'The GitHub token'

0 commit comments

Comments
 (0)