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