Merge pull request #115 from JSchmie/update-workflow-files

Update workflow files to trigger correctly.
This commit is contained in:
Jacob Schmieder
2024-09-02 14:27:35 +02:00
committed by GitHub
5 changed files with 16 additions and 7 deletions
+1
View File
@@ -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 -1
View File
@@ -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 -3
View File
@@ -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 }}
+8 -1
View File
@@ -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:
+4 -2
View File
@@ -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