chore: import upstream snapshot with attribution
Rebuild Cookbook Website / deploy (push) Has been cancelled
Rebuild Cookbook Website / deploy (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
name: Rebuild Cookbook Website
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Call Deploy Hook
|
||||
run: curl -X POST ${{ secrets.WEBSITE_DEPLOY_HOOK_URL }}
|
||||
@@ -0,0 +1,19 @@
|
||||
name: "Close stale issues and PRs"
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8
|
||||
with:
|
||||
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days."
|
||||
stale-pr-message: "This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days."
|
||||
close-issue-message: "This issue was closed because it has been stalled for 10 days with no activity."
|
||||
close-pr-message: "This PR was closed because it has been stalled for 10 days with no activity."
|
||||
days-before-issue-stale: 60
|
||||
days-before-pr-stale: 60
|
||||
days-before-issue-close: 10
|
||||
days-before-pr-close: 10
|
||||
@@ -0,0 +1,25 @@
|
||||
name: Validate Changed Notebooks
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
validate-notebooks:
|
||||
name: Validate Notebooks
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
|
||||
with:
|
||||
fetch-depth: 0 # needed for git diff to work
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4
|
||||
with:
|
||||
python-version: '3.12'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install nbformat
|
||||
|
||||
- name: Validate changed .ipynb files
|
||||
run: python .github/scripts/check_notebooks.py
|
||||
Reference in New Issue
Block a user