Skip to content

Commit 44ec2bb

Browse files
authored
adapt to the move (#54)
* upgrade python * rename the action in the readme * document the `assignees` setting
1 parent dee9372 commit 44ec2bb

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- uses: actions/setup-python@v4
2828
with:
29-
python-version: "3.11"
29+
python-version: "3.12"
3030
cache: pip
3131

3232
...
@@ -41,7 +41,7 @@ jobs:
4141

4242
...
4343

44-
- uses: xarray-contrib/issue-from-pytest-log@main
44+
- uses: scientific-python/issue-from-pytest-log-action@main
4545
if: |
4646
failure()
4747
&& ...
@@ -69,7 +69,7 @@ optional. Default: `⚠️ Nightly upstream-dev CI failed ⚠️`
6969
In case you don't like the default title for new issues, this setting can be used to set a different one:
7070

7171
```yaml
72-
- uses: xarray-contrib/issue-from-pytest-log@v1
72+
- uses: scientific-python/issue-from-pytest-log-action@main
7373
with:
7474
log-path: pytest-log.jsonl
7575
issue-title: "Nightly CI failed"
@@ -84,8 +84,23 @@ optional. Default: `CI`
8484
The label to set on the new issue.
8585

8686
```yaml
87-
- uses: xarray-contrib/issue-from-pytest-log@v1
87+
- uses: scientific-python/issue-from-pytest-log-action@main
8888
with:
8989
log-path: pytest-log.jsonl
9090
issue-label: "CI"
9191
```
92+
93+
### assignees
94+
95+
optional
96+
97+
Any assignees to set on the new issue:
98+
99+
```yaml
100+
- uses: scientific-python/issue-from-pytest-log-action@main
101+
with:
102+
log-path: pytest-log.jsonl
103+
assignees: ["user1", "user2"]
104+
```
105+
106+
Note that assignees must have the commit bit on the repository.

0 commit comments

Comments
 (0)