Skip to content

Commit

Permalink
Merge pull request #7132 from tech-conferences/link_checker
Browse files Browse the repository at this point in the history
Link checker
  • Loading branch information
cgrail authored Aug 15, 2024
2 parents 3b459f7 + aa5f002 commit 1b466d0
Show file tree
Hide file tree
Showing 27 changed files with 1,117 additions and 320 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/check_links.yaml
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
1,017 changes: 1,017 additions & 0 deletions .lycheecache

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions .lycheeignore
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/
20 changes: 0 additions & 20 deletions conferences/2024/cpp.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
9 changes: 0 additions & 9 deletions conferences/2024/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@
"cfpEndDate": "2023-10-20",
"twitter": "@frontrunnersdc"
},
{
"name": "WebDev Day",
"url": "https://www.wearedevelopers.com/event/webdev-day-march-2024",
"startDate": "2024-03-20",
"endDate": "2024-03-20",
"online": true,
"locales": "EN",
"twitter": "@WeAreDevs"
},
{
"name": "The 11ty International Symposium on Making Web Sites Real Good",
"url": "https://conf.11ty.dev",
Expand Down
38 changes: 1 addition & 37 deletions conferences/2024/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,18 +418,6 @@
"cfpEndDate": "2024-03-22",
"twitter": "@DevNetwork_"
},
{
"name": "Artificial Intelligence & Machine Learning (AI & ML)",
"url": "https://www.conf42.com/aiml2024",
"startDate": "2024-05-30",
"endDate": "2024-05-30",
"online": true,
"locales": "EN",
"cocUrl": "https://www.conf42.com/code-of-conduct",
"cfpUrl": "https://www.papercall.io/conf42-artificial-intelligence-machine-learning-2024",
"cfpEndDate": "2024-04-29",
"twitter": "@conf42com"
},
{
"name": "AI World Congress",
"url": "https://aiconference.london/",
Expand Down Expand Up @@ -740,16 +728,6 @@
"cocUrl": "https://ai4.io/usa/health-and-safety/",
"twitter": "@Ai4Conferences"
},
{
"name": "AI Showcase",
"url": "https://sfai.vercel.app",
"startDate": "2024-08-16",
"endDate": "2024-08-17",
"city": "San Francisco, CA",
"country": "U.S.A.",
"online": false,
"locales": "EN"
},
{
"name": "The Modern Data Quality Summit",
"url": "https://moderndataqualitysummit.com",
Expand Down Expand Up @@ -915,9 +893,7 @@
"country": "Germany",
"online": false,
"locales": "DE",
"cocUrl": "https://berlincodeofconduct.org/de/",
"cfpUrl": "https://iterate.ruhr/callforpapers",
"cfpEndDate": "2024-06-30"
"cocUrl": "https://berlincodeofconduct.org/de/"
},
{
"name": "GovAI Summit",
Expand Down Expand Up @@ -1066,17 +1042,6 @@
"cfpEndDate": "2024-04-30",
"twitter": "@dotaiconf"
},
{
"name": "International Conference on Machine Learning and Artificial Intelligence",
"url": "https://www.pagesconferences.com/2024/robotics-artificial-intelligence",
"startDate": "2024-10-21",
"endDate": "2024-10-23",
"city": "Edinburgh",
"country": "U.K.",
"online": false,
"locales": "EN",
"cocUrl": "https://www.pagesconferences.com/2024/robotics-artificial-intelligence"
},
{
"name": "CDAO Perth",
"url": "https://cdao-perth.coriniumintelligence.com/",
Expand Down Expand Up @@ -1333,7 +1298,6 @@
"country": "Poland",
"online": false,
"locales": "PL",
"cocUrl": "https://omhconf.pl/wp-content/uploads/2024/02/Code-of-Conduct-2024.pdf",
"cfpUrl": "https://omhconf.pl/cfp-2024",
"cfpEndDate": "2024-09-16",
"twitter": "@OMHconf"
Expand Down
57 changes: 8 additions & 49 deletions conferences/2024/devops.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
},
{
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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_"
},
{
Expand Down Expand Up @@ -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"
},
Expand Down
27 changes: 1 addition & 26 deletions conferences/2024/dotnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@
"cocUrl": "https://vslive.com/pages/harassment.aspx",
"twitter": "@vslive"
},
{
"name": "dotnetdays",
"url": "https://dotnetdays.ro",
"startDate": "2024-04-18",
"endDate": "2024-04-20",
"city": "Iasi",
"country": "Romania",
"online": false,
"locales": "EN",
"twitter": "@dotnetdaysro"
},
{
"name": "Global Azure London",
"url": "https://globalazure.net",
Expand Down Expand Up @@ -84,18 +73,6 @@
"cocUrl": "https://basta.net/code-of-conduct-en/",
"twitter": "@bastacon"
},
{
"name": "Update Days: .NET Performance",
"url": "https://performance.updatedays.pl",
"startDate": "2024-06-26",
"endDate": "2024-06-27",
"city": "Kraków",
"country": "Poland",
"online": true,
"locales": "EN",
"cocUrl": "https://www.updateconference.net/en/code-of-conduct",
"twitter": "@update_conf"
},
{
"name": "WeAreDevelopers - World Congress",
"url": "https://www.wearedevelopers.com/world-congress",
Expand Down Expand Up @@ -145,9 +122,7 @@
"country": "Germany",
"online": false,
"locales": "DE",
"cocUrl": "https://berlincodeofconduct.org/de/",
"cfpUrl": "https://iterate.ruhr/callforpapers",
"cfpEndDate": "2024-06-30"
"cocUrl": "https://berlincodeofconduct.org/de/"
},
{
"name": ".NET DeveloperDays",
Expand Down
Loading

0 comments on commit 1b466d0

Please sign in to comment.