Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ How this works:

To use the `issue-from-pytest-log` action in workflows, simply add a new step:

> [!WARNING]
> The action won't run properly unless the `issues: write` permission is requested as shown below.

```yaml
jobs:
my-job:
Expand All @@ -22,6 +25,9 @@ jobs:
fail-fast: false
...

permissions:
issues: write

...

- uses: actions/setup-python@v4
Expand All @@ -31,12 +37,12 @@ jobs:

...

- run: <
- run: |
pip install --upgrade pytest-reportlog

...

- run: <
- run: |
pytest --report-log pytest-log.jsonl

...
Expand Down