diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 0000000..88e4edd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,23 @@ +--- +name: Bug report +about: Report incorrect behavior +title: '' +labels: '' +assignees: '' + +--- + +**Summary** +Describe the issue and expected behavior. + +**Example** +Include an example to reproduce the issue. Please use an example file and **NOT** any proprietary information. + +**Environment** +Provide information on your computing environment. + - Operating system: + - Python version: + - Sansmic version: + +**Additional context** +[Optional] Add additional context about the issue, including screenshot or figure. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..5d938ac --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,14 @@ +--- +name: Feature request +about: Suggest a new feature +title: '' +labels: '' +assignees: '' + +--- + +**Summary** +Describe the feature request, including motivation and potential use cases. + +**Additional context** +[Optional] Add additional context or screenshots about the feature request. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000..c13f35d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,21 @@ +--- +name: General question +about: Ask a question +title: '' +labels: '' +assignees: '' + +--- + +**Summary** +Describe your question. + +**Example** +[Optional] Include an example. Do **NOT** include proprietary information. + + +**Environment** +[Optional] Provide information on your computing environment. + - Operating system: + - Python version: + - Sansmic version: diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml deleted file mode 100644 index 496349f..0000000 --- a/.github/workflows/build-wheels.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Build wheels (intermediate) - -on: - push: - branches: - - "*patch*" - - "main" - workflow_dispatch: - -jobs: - build_wheels: - name: Build distribution 📦 on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - # macos-13 is an intel runner, macos-14 is apple silicon - os: [ubuntu-latest, windows-latest, macos-13, macos-14] - - steps: - - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 - with: - egress-policy: audit - - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Build wheels - uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1 - - - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 - with: - name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} - path: ./wheelhouse/*.whl diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 0b8e79b..6acd4a6 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -4,7 +4,10 @@ name: Deploy Sphinx documentation on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: + - 'main' + tags: + - '*' release: workflow_dispatch: diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 58684e7..f498c95 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -77,7 +77,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20 + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 with: name: SARIF file path: results.sarif diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 7cbd879..c99fbb0 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -3,7 +3,7 @@ name: Semantic Release on: push: branches: - - main + - release permissions: contents: read