publish: wsl2 article #233
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Detect Renamed Posts | |
on: | |
pull_request: | |
branches: [master] | |
paths: | |
- '_posts/**' | |
jobs: | |
detect_renamed_post: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
# this enables doing git diff HEAD^ for the squashed PR commit | |
fetch-depth: 2 | |
- name: Set Up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Run Renaming Script | |
run: | | |
node .github/workflows/detect-renamed-posts.js |