Skip to content

Commit 9dfa3f9

Browse files
committed
Build: Move spider-check from Travis cron to GitHub cron
Previously the script was in the 'spider-check' branch, which is how Travis crons were configured. For GitHub, the script is required to be in the main branch. Ref jquery/infrastructure#455.
1 parent 4caf7cf commit 9dfa3f9

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: spider-check
2+
on:
3+
# Once a week on Thursday at 11:30 AM UTC
4+
schedule:
5+
- cron: '30 11 * * 4'
6+
# Or manually
7+
workflow_dispatch:
8+
# Or when developing this workflow
9+
push:
10+
paths:
11+
- .github/workflows/spider-check.yaml
12+
pull_request:
13+
paths:
14+
- .github/workflows/spider-check.yaml
15+
16+
jobs:
17+
spider-check:
18+
# Includes Python 3
19+
# https://github.com/actions/virtual-environments/blob/ubuntu20/20210318.0/images/linux/Ubuntu2004-README.md
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
with:
24+
repository: jquery/hydra-link-checker
25+
ref: v1.0.2
26+
27+
- name: Run hydra-link-checker
28+
run: python3 hydra.py "https://releases.jquery.com/"

0 commit comments

Comments
 (0)