Skip to content

Commit 6763364

Browse files
authored
Merge pull request #41 from ai-mindset/add-build-content-action
fix: Add write permissions to GitHub Actions workflow
2 parents d8720cc + 7c20c82 commit 6763364

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-on-push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
branches:
1111
- main
1212

13+
permissions:
14+
contents: write
15+
1316
jobs:
1417
build:
1518
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
@@ -18,6 +21,8 @@ jobs:
1821
steps:
1922
- name: Checkout repository
2023
uses: actions/checkout@v3
24+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
2126

2227
- name: Setup Node.js
2328
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)