Skip to content

Commit

Permalink
Attempt to solve write access as a PR workflow from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
fritx committed Jan 22, 2024
1 parent 6aea8d8 commit 02ffc09
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: unit test
on:
push:
branches: [master, ci/**]
pull_request:
pull_request_target:
branches: [master, ci/**]
workflow_dispatch:
# Keep this to allow for triggering manually
Expand All @@ -23,6 +23,9 @@ jobs:

runs-on: ${{ matrix.os }}

permissions:
contents: write

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit 02ffc09

Please sign in to comment.