Merge pull request #115 from JSchmie/update-workflow-files
Update workflow files to trigger correctly.
This commit is contained in:
@@ -42,6 +42,7 @@ github:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- '.gitignore'
|
||||
- '.github/ISSUE_TEMPLATE/*'
|
||||
|
||||
dependencies:
|
||||
- changed-files:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Labeling new issue
|
||||
on:
|
||||
issues:
|
||||
types: ['opened', 'reopened']
|
||||
types: [opened, reopened]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user