-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7132 from tech-conferences/link_checker
Link checker
- Loading branch information
Showing
27 changed files
with
1,117 additions
and
320 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Check links | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '16 2 * * 6' | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
issues: write | ||
env: | ||
issue-lookup-label: automated-link-issue | ||
issue-content: ./lychee-out.md | ||
steps: | ||
- name: Get current year | ||
run: echo "CURRENT_YEAR=$(date +'%Y')" >> $GITHUB_ENV | ||
- name: Get next year | ||
run: echo "NEXT_YEAR=$(date -d '+1 year' +'%Y')" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Link Checker | ||
id: lychee | ||
uses: lycheeverse/[email protected] | ||
with: | ||
fail: true | ||
args: --cache --verbose --no-progress './conferences/${{ env.CURRENT_YEAR }}/**/*.json' './conferences/${{ env.NEXT_YEAR }}/**/*.json' | ||
output: ${{ env.issue-content }} | ||
- name: Comment Broken Links | ||
if: ${{ failure() }} | ||
uses: marocchino/sticky-pull-request-comment@v2 | ||
with: | ||
path: ${{ env.issue-content }} | ||
GITHUB_TOKEN: ${{ secrets.BROKEN_LINK }} | ||
# Permissions (issues: read) | ||
- name: 'Look for an existing issue' | ||
if: ${{ failure() }} | ||
id: last-issue | ||
uses: micalevisk/last-issue-action@v2 | ||
# Find the last updated open issue with a `automated-issue` label: | ||
with: | ||
state: open | ||
labels: ${{ env.issue-lookup-label }} | ||
|
||
# Permissions (issues: write) | ||
- name: 'Create a new issue, or update an existing one' | ||
if: ${{ failure() }} | ||
uses: peter-evans/create-issue-from-file@v4 | ||
with: | ||
title: 'docs: Broken links found' | ||
content-filepath: ${{ env.issue-content }} | ||
token: ${{ secrets.BROKEN_LINK }} | ||
# Update an existing issue if one was found (issue_number), | ||
# otherwise an empty value creates a new issue: | ||
issue-number: ${{ steps['last-issue']['outputs']['issue-number'] }} | ||
# Add a label(s) that `last-issue` can use to find this issue, | ||
# and any other relevant labels for the issue itself: | ||
labels: | | ||
${{ env.issue-lookup-label }} | ||
broken-link, docs |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- This is a list of URLs that check_links workflow should ignore. --> | ||
|
||
/call-for-papers | ||
/codeOfConduct | ||
/code-of-conduct | ||
/cfp | ||
/coc | ||
https://www.gartner.com/en/conferences/emea/digital-workplace-uk | ||
https://www.gartner.com/en/conferences/na/symposium-us | ||
https://datascience.thepeopleevents.com | ||
https://idpcon.com | ||
https://www.devbcn.com/kcd | ||
https://graphql.org | ||
https://phpconference.com | ||
https://medellin.cityjsconf.org/ | ||
https://react-africa.com/ | ||
https://india.cityjsconf.org/ | ||
https://callforpapers.sandsmedia.com/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,6 @@ | |
"twitter": "@cpponline", | ||
"mastodon": "@[email protected]" | ||
}, | ||
{ | ||
"name": "Embedded Day", | ||
"url": "https://www.wearedevelopers.com/event/embedded-day-april-2024", | ||
"startDate": "2024-04-17", | ||
"endDate": "2024-04-17", | ||
"online": true, | ||
"locales": "EN" | ||
}, | ||
{ | ||
"name": "ACCU Conference", | ||
"url": "https://accuconference.org", | ||
|
@@ -54,18 +46,6 @@ | |
"locales": "EN", | ||
"cocUrl": "https://cpponsea.uk/conduct/" | ||
}, | ||
{ | ||
"name": "Low Latency London", | ||
"url": "https://l3.axra.org", | ||
"startDate": "2024-07-19", | ||
"endDate": "2024-07-20", | ||
"city": "London", | ||
"country": "U.K.", | ||
"online": false, | ||
"locales": "EN", | ||
"cfpUrl": "https://forms.gle/BF7Sf5dTyGCBgV978", | ||
"cfpEndDate": "2024-01-31" | ||
}, | ||
{ | ||
"name": "Cpp North", | ||
"url": "https://cppnorth.ca", | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,15 +22,6 @@ | |
"cfpEndDate": "2023-12-26", | ||
"twitter": "@conf42com" | ||
}, | ||
{ | ||
"name": "DevOps Day", | ||
"url": "https://www.wearedevelopers.com/event/devops-day-february-2024", | ||
"startDate": "2024-02-07", | ||
"endDate": "2024-02-07", | ||
"online": true, | ||
"locales": "EN", | ||
"twitter": "@WeAreDevs" | ||
}, | ||
{ | ||
"name": "DevOps.js Conference", | ||
"url": "https://devopsjsconf.com", | ||
|
@@ -265,8 +256,6 @@ | |
"city": "Istanbul", | ||
"country": "Turkey", | ||
"cocUrl": "https://devopsdays.org/events/2024-istanbul/conduct", | ||
"cfpUrl": "https://www.papercall.io/devopsdays-istanbul-2024", | ||
"cfpEndDate": "2024-01-19", | ||
"twitter": "@devopsdaysist" | ||
}, | ||
{ | ||
|
@@ -376,16 +365,14 @@ | |
"twitter": "@DevOpsDaysSEA" | ||
}, | ||
{ | ||
"name": "Devopsdays Sao Paulo", | ||
"url": "https://devopsdays.org/events/2024-saopaulo/welcome/", | ||
"startDate": "2024-05-18", | ||
"endDate": "2024-05-18", | ||
"city": "São Paulo", | ||
"country": "Brazil", | ||
"cocUrl": "https://devopsdays.org/events/2024-saopaulo/conduct-pt-br", | ||
"cfpUrl": "https://talks.devopsdays.org/devopsdays-sao-paulo-2024/", | ||
"cfpEndDate": "2024-02-11", | ||
"twitter": "@sp_devopsdays" | ||
"name": "Devopsdays Kansas City", | ||
"url": "https://devopsdays.org/events/2024-kansas-city/welcome/", | ||
"startDate": "2024-05-15", | ||
"endDate": "2024-05-16", | ||
"city": "Kansas City, MO", | ||
"country": "U.S.A.", | ||
"cocUrl": "https://devopsdays.org/events/2024-kansas-city/conduct", | ||
"twitter": "@devopsdayskc" | ||
}, | ||
{ | ||
"name": "DevOpsCon San Diego", | ||
|
@@ -484,20 +471,6 @@ | |
"twitter": "@devopsdays_kyiv", | ||
"mastodon": "@[email protected]" | ||
}, | ||
{ | ||
"name": "Icinga Summit", | ||
"url": "https://icinga.com/summit", | ||
"startDate": "2024-06-05", | ||
"endDate": "2024-06-06", | ||
"city": "Berlin", | ||
"country": "Germany", | ||
"online": false, | ||
"locales": "EN", | ||
"cocUrl": "https://icinga.com/summit/", | ||
"cfpUrl": "https://icinga.com/summit/cfp", | ||
"cfpEndDate": "2024-03-31", | ||
"twitter": "@icinga" | ||
}, | ||
{ | ||
"name": "INTEGRATE", | ||
"url": "https://www.serverless360.com/events/integrate-2024", | ||
|
@@ -654,17 +627,6 @@ | |
"locales": "EN", | ||
"twitter": "@tweetsbyport" | ||
}, | ||
{ | ||
"name": "DevSecOps Melbourne", | ||
"url": "https://devsecops-mel.coriniumintelligence.com/", | ||
"startDate": "2024-07-17", | ||
"endDate": "2024-07-17", | ||
"city": "Melbourne", | ||
"country": "Australia", | ||
"online": false, | ||
"locales": "EN", | ||
"twitter": "@CoriniumGlobal" | ||
}, | ||
{ | ||
"name": "KCD Lima", | ||
"url": "https://community.cncf.io/events/details/cncf-kcd-lima-peru-presents-kcd-lima-peru-2024", | ||
|
@@ -735,8 +697,6 @@ | |
"online": false, | ||
"locales": "EN", | ||
"cocUrl": "https://events.linuxfoundation.org/kubecon-cloudnativecon-open-source-summit-ai-dev-china/attend/code-of-conduct/", | ||
"cfpUrl": "https://events.linuxfoundation.org/kubecon-cloudnativecon-open-source-summit-ai-dev-china/program/call-for-proposal/", | ||
"cfpEndDate": "2024-05-05", | ||
"twitter": "@KubeCon_" | ||
}, | ||
{ | ||
|
@@ -1071,7 +1031,6 @@ | |
"country": "Germany", | ||
"online": false, | ||
"locales": "DE", | ||
"cocUrl": "https://www.continuouslifecycle.de/code_of_conduct.php", | ||
"cfpUrl": "https://www.continuouslifecycle.de/cfp.php", | ||
"cfpEndDate": "2024-05-05" | ||
}, | ||
|
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
Oops, something went wrong.