Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Keeps the GitHub Actions pins in .github/workflows/ on current majors.
# Two groups, as QuantEcon/actions does, so updates land as at most two PRs a
# week: minor and patch updates together, and major updates on their own.
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
commit-message:
prefix: "猬嗭笍"
groups:
github-actions:
patterns: ["*"]
update-types: [minor, patch]
github-actions-major:
patterns: ["*"]
update-types: [major]
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout current branch
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.head_ref }}
token: ${{ env.GH_TOKEN }}
Expand All @@ -45,9 +45,9 @@ jobs:
echo "PR number: ${{ github.event.number }}"
echo "Commit SHA: ${{ github.sha }}"

- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: 20.x
node-version: '24'

Comment thread
mmcky marked this conversation as resolved.
- name: Install MyST Markdown CLI
run: |
Expand All @@ -71,15 +71,15 @@ jobs:
myst build --html

- name: Upload build output
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5
with:
path: './lectures/_build/html'

# Deploy to GitHub Pages when pushing to main
- name: Deploy to GitHub Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5

- name: Install Netlify CLI
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

- name: Post PR Comment with Preview Link
if: github.event_name == 'pull_request'
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const deployUrl = `${{ steps.netlify-deploy.outputs.deploy_url }}`;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/data-url-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: No data-lectures read on the LFS media host
run: |
# media.githubusercontent.com is the LFS *media* endpoint and routes
Expand Down
Loading