From 7994564ba75d7d29c80346585160f2a51accc9fe Mon Sep 17 00:00:00 2001 From: Mark Nottingham Date: Fri, 13 Oct 2023 14:20:38 +1100 Subject: [PATCH] update from pyproject_tmpl --- .editorconfig | 18 +++--------------- .github/workflows/publish.yml | 20 +++++++++----------- 2 files changed, 12 insertions(+), 26 deletions(-) diff --git a/.editorconfig b/.editorconfig index df986e3d..9bd6de87 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,25 +9,13 @@ charset = utf-8 max_line_length = 100 trim_trailing_whitespace = true indent_style = space +indent_size = 4 [Makefile*] indent_style = tab -tab_width = 4 - -[*.md] -indent_size = 2 - -[*.py] -indent_size = 4 - -[*.js] -indent_size = 2 - -[*.scss] -indent_size = 2 -[*.yml] +[{*.md,*.js,*.scss,*.yml}] indent_size = 2 [*.html] -max_line_length = off +max_line_length = unset diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e8cb16f..15cfed0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,18 +30,16 @@ jobs: runs-on: ubuntu-latest permissions: contents: write # IMPORTANT: mandatory for making GitHub Releases - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 5 - - run: | - gh release create "${{ github.ref_name }}" --verify-tag - env: - GITHUB_TOKEN: ${{ github.TOKEN }} - shell: bash - name: Create a release in GitHub + - uses: actions/checkout@v4 + with: + fetch-depth: 5 + - name: Create a GitHub release + shell: bash + env: + GITHUB_TOKEN: ${{ github.token }} + run: | + gh release create "${{ github.ref_name }}" --verify-tag sign: name: >-