Skip to content

Commit ded4570

Browse files
committed
fix: release needs gh token
1 parent 1adadec commit ded4570

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/.github/workflows/ci.yaml.jinja

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
git config --global user.name "github-actions"
3838
git config --global user.email "action@github.com"
3939
poetry run task release
40-
{% if not private -%}
4140
env:
41+
GH_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
42+
{% if not private -%}
4243
PYPI_TOKEN: {% raw %}${{ secrets.PYPI_TOKEN }}{% endraw %}
43-
{%- endif -%}
44+
{% endif -%}

0 commit comments

Comments
 (0)