diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml new file mode 100644 index 000000000..02df7d930 --- /dev/null +++ b/.github/workflows/auto-release.yml @@ -0,0 +1,27 @@ +name: Auto-Release +on: + push: + branches: + - develop + +permissions: + contents: read + +jobs: + release: + name: Release + runs-on: ubuntu-latest + permissions: + contents: write # to be able to publish a GitHub release + issues: write # to be able to comment on released issues + pull-requests: write # to be able to comment on released pull requests + id-token: write # to enable use of OIDC for npm provenance + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: codfish/semantic-release-action@v3 + id: semantic + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 91bf3f73a..d1bb07d37 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -75,7 +75,6 @@ repos: always_run: true entry: bash -c "uv run --frozen --all-extras --dev deptry src --ignore DEP001" - - repo: https://github.com/renovatebot/pre-commit-hooks rev: 39.161.4 hooks: @@ -86,10 +85,6 @@ repos: - id: uv-sync args: ["--frozen", "--all-packages", "--all-extras"] - - repo: https://github.com/zahorniak/pre-commit-circleci.git - rev: v1.1.0 - hooks: - - id: circleci_validate - repo: "local" hooks: - id: disallowed-words-check @@ -103,6 +98,7 @@ repos: language: system pass_filenames: false always_run: true + - repo: https://github.com/hukkin/mdformat rev: 0.7.22 # Use the ref you want to point at hooks: