diff --git a/.editorconfig b/.editorconfig index 01b7d93..f485cd7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,3 +8,7 @@ indent_style = tab insert_final_newline = false max_line_length = 120 tab_width = 4 + +[*.yaml] +indent_size = 2 +tab_width = 2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..daf2427 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: release version + +on: + push: + tags: + - '*' + +jobs: + release: + name: release version from tag + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - run: tar -zcvf req-preprocess.tar.gz .traefik.yml go.mod preprocess.go README.md + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + body: ${{ github.event.head_commit.message }} + files: | + req-preprocess.tar.gz