Skip to content

Commit f0442e0

Browse files
authored
ci: use default github token in figma workflow
1 parent c9efa75 commit f0442e0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/figma.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ on:
1515
jobs:
1616
run:
1717
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write
20+
pull-requests: write
1821
steps:
1922
- name: Checkout UI
2023
uses: actions/checkout@v2
2124
with:
22-
token: ${{ secrets.GH_TOKEN }}
2325
ref: main
2426

2527
- name: Update Figma JSON
@@ -34,7 +36,6 @@ jobs:
3436
- name: Create Pull Request
3537
uses: peter-evans/create-pull-request@v3
3638
with:
37-
token: ${{ secrets.GH_TOKEN }}
3839
commit-message: 'chore: update figma.json'
3940
committer: ${{ env.COMMIT_USER }} <${{ env.COMMIT_EMAIL }}>
4041
author: ${{ env.COMMIT_USER }} <${{ env.COMMIT_EMAIL }}>

0 commit comments

Comments
 (0)