diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml index a067c4b..613b71d 100644 --- a/.github/workflows/check-lint.yml +++ b/.github/workflows/check-lint.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 2 matrix: - python-version: ["3.10","3.11"] + python-version: ["3.9", "3.10", "3.11"] steps: - name: 📥 Checkout the repository diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3645a4c..20b7845 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,21 +2,22 @@ name: Create release on: push: tags: - - "*.*.*" # Push events to matching i.e. 1.0.0, 4.0.1 + - "[0-9]+.[0-9]+.[0-9]+" # Push events to matching i.e. 1.0.0, 4.0.1 jobs: release: runs-on: ubuntu-latest permissions: - write-all + contents: write steps: - # To use this repository's private action, you must check out the repository - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 + - name: Generate changelog id: changelog - uses: metcalfc/changelog-generator@v4.2.0 + uses: metcalfc/changelog-generator@v4.1.0 with: - myToken: ${{ secrets.GITHUB_TOKEN }} + mytoken: ${{ secrets.GITHUB_TOKEN }} + - name: Create Release id: create_release uses: actions/create-release@latest @@ -27,4 +28,4 @@ jobs: release_name: ${{ github.ref }} body: ${{ steps.changelog.outputs.changelog }} draft: false - prerelease: true + prerelease: false