diff --git a/.editorconfig b/.editorconfig index 2ff010f..39159d9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,3 +7,9 @@ indent_size = 4 charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml new file mode 100644 index 0000000..2922e9c --- /dev/null +++ b/.github/workflows/master.yml @@ -0,0 +1,21 @@ +on: + release: + types: + - published + +name: release + +jobs: + pypi-publish: + name: upload release to PyPI + runs-on: ubuntu-latest + # Specifying a GitHub environment is optional, but strongly encouraged + environment: release + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write + steps: + # retrieve your distributions here + + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1