@@ -42,6 +42,7 @@ github:
|
|||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file:
|
- any-glob-to-any-file:
|
||||||
- '.gitignore'
|
- '.gitignore'
|
||||||
|
- '.github/ISSUE_TEMPLATE/*'
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- changed-files:
|
- changed-files:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: Labeling new issue
|
name: Labeling new issue
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types: ['opened', 'reopened']
|
types: [opened, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ name: documentation
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- 'v*.*.*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -36,7 +36,6 @@ jobs:
|
|||||||
make html
|
make html
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/sphinx_action' }}
|
|
||||||
with:
|
with:
|
||||||
publish_branch: gh-pages
|
publish_branch: gh-pages
|
||||||
github_token: ${{ secrets.TOKEN_GH }}
|
github_token: ${{ secrets.TOKEN_GH }}
|
||||||
|
|||||||
@@ -6,6 +6,10 @@ on:
|
|||||||
- develop
|
- develop
|
||||||
types:
|
types:
|
||||||
- closed
|
- closed
|
||||||
|
paths:
|
||||||
|
- scraibe/**
|
||||||
|
- pyproject.toml
|
||||||
|
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- 'v*.*.*'
|
||||||
|
|||||||
@@ -2,7 +2,14 @@ name: Run Tests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ['main', 'develop']
|
branches:
|
||||||
|
- main
|
||||||
|
- develop
|
||||||
|
paths:
|
||||||
|
- scraibe/**
|
||||||
|
- pyproject.toml
|
||||||
|
- requirements.txt
|
||||||
|
- test/**
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
name: Ruff
|
name: Ruff
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- '**.py'
|
||||||
jobs:
|
jobs:
|
||||||
ruff:
|
ruff:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'push') }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: chartboost/ruff-action@v1
|
- uses: chartboost/ruff-action@v1
|
||||||
Reference in New Issue
Block a user