Skip to content

Commit

Permalink
fix: incorporate small fixes from latest project setup (#16)
Browse files Browse the repository at this point in the history
* fix(lint_and_docs.yaml): Adjust ident of cancel-workflow-action

* fix(lint_and_docs.yaml): Add necessary permissions

* fix(_config.yml): Remove invalid } from github_username

---------

Co-authored-by: Hendrik Scherner <[email protected]>
  • Loading branch information
SchernHe and SchernHe authored Apr 18, 2024
1 parent bf406d6 commit 7b486a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ jobs:
permissions:
id-token: write
pages: write
actions: write
contents: read
steps:
- name: Cancel previous run
uses: styfle/[email protected]
{% raw -%}
{% raw -%}
with:
access_token: ${{ github.token }}
{%- endraw %}
{%- endraw %}
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ sphinx:
suppress_warnings: ["mystnb.unknown_mime_type"] # needed for plotly rendering
autodoc_show_sourcelink: True
add_module_names: False
github_username: {{cookiecutter.author}}}
github_username: {{cookiecutter.author}}
github_repository: {{cookiecutter.project_name}}
python_use_unqualified_type_names: True
nb_mime_priority_overrides: [
Expand Down

0 comments on commit 7b486a4

Please sign in to comment.