From 97b51dad79b75d3f6f71df9c8daec89975dcd757 Mon Sep 17 00:00:00 2001 From: Latiff Danieyal <86613680+danieyal@users.noreply.github.com> Date: Sat, 11 Jul 2026 18:00:10 +0800 Subject: [PATCH 1/2] fix: add tag trigger for CI workflow --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e7af31..3a70938 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ name: CI on: push: branches: [master] + tags: ["v*"] pull_request: jobs: From 02f183b9b9d45ced5b5f3fea2d2ab791dca24993 Mon Sep 17 00:00:00 2001 From: Latiff Danieyal <86613680+danieyal@users.noreply.github.com> Date: Sat, 11 Jul 2026 18:00:51 +0800 Subject: [PATCH 2/2] . --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a70938..02a4775 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,10 @@ jobs: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: # Pinned to commit SHAs; see each comment for the moving tag it replaces. - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: ${{ matrix.python-version }} - name: Install @@ -38,7 +38,7 @@ jobs: run: pytest -q --cov=mdl --cov-report=xml - name: Upload coverage to Codecov if: matrix.python-version == '3.12' - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml @@ -51,12 +51,12 @@ jobs: environment: pypi permissions: contents: read - id-token: write # trusted publishing + id-token: write # trusted publishing steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: "3.12" - name: Build @@ -64,4 +64,4 @@ jobs: python -m pip install --upgrade pip build python -m build - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1 + uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1