Skip to content

Commit

Permalink
run on all prs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kislovskiy committed Apr 13, 2024
1 parent af2200e commit 5bc1f55
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 21 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/2023-PyConIT-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@ run-name: "️2023 PyConIT 🇮🇹 (${{ github.sha }})"

on:
pull_request:
paths:
paths: &project_paths
- "2023_PyConIT/**/*.py"
- "2023_PyConIT/**/*.ipynb"
- "2023_PyData_berlin/requirements.txt"
branches:
- main
push:
paths:
- "2023_PyConIT/**/*.py"
- "2023_PyConIT/**/*.ipynb"
- "2023_PyData_berlin/requirements.txt"
paths: *project_paths
branches:
- main
workflow_dispatch:
Expand All @@ -23,6 +18,7 @@ env:

defaults:
run:
# Use Bash shell with 'errexit' option to exit immediately if any command fails.
shell: bash -el {0}

jobs:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/2023-PyData_Berlin-python-pdf-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@ run-name: "️2023 PyData Berlin 🇩🇪 (${{ github.sha }})"

on:
pull_request:
paths:
paths: &project_paths
- "2023_PyData_Berlin/**/*.py"
- "2023_PyData_Berlin/**/*.ipynb"
- "2023_PyData_berlin/requirements.txt"
branches:
- main
push:
paths:
- "2023_PyData_Berlin/**/*.py"
- "2023_PyData_Berlin/**/*.ipynb"
- "2023_PyData_berlin/requirements.txt"
paths: *project_paths
branches:
- main
workflow_dispatch:
Expand All @@ -23,6 +18,7 @@ env:

defaults:
run:
# Use Bash shell with 'errexit' option to exit immediately if any command fails.
shell: bash -el {0}

jobs:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/2023_EuroSciPy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,19 @@ run-name: "️2023 EuroSciPy CI (${{ github.sha }})"

on:
pull_request:
paths:
paths: &project_paths
- "2023_EuroSciPy/**/*.py"
- "2023_EuroSciPy/**/*.ipynb"
- "2023_EuroSciPy/pyproject.toml"
branches:
- main
push:
paths:
- "2023_EuroSciPy/**/*.py"
- "2023_EuroSciPy/**/*.ipynb"
- "2023_EuroSciPy/pyproject.toml"
paths: *project_paths
branches:
- main
workflow_dispatch:

defaults:
run:
# Use Bash shell with 'errexit' option to exit immediately if any command fails.
shell: bash -e {0}

jobs:
Expand Down
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: no-commit-to-branch # prevent direct commits to main branch
- id: check-yaml
args: ['--unsafe']
- id: check-toml
9 changes: 9 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,14 @@
"extends": [
"config:base",
"helpers:pinGitHubActionDigests"
],
"pre-commit": {
"enabled": true
},
"packageRules": [
{
"matchDepTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
]
}

0 comments on commit 5bc1f55

Please sign in to comment.