Skip to content

Commit

Permalink
Checking SL link
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisglass committed Feb 13, 2024
1 parent a2629a9 commit 8bfc7f7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check-sl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check SL

on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "*/2 * * * *"

jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main

- name: Check
id: checker
run: |
curl https://invest.swisslife-am.com -o curl-output
- name: Create Issue From File
if: ${{ steps.checker.outputs.exit_code != 0 }}
uses: peter-evans/create-issue-from-file@v3
with:
title: SL Link check failed!
content-filepath: curl-output
labels: report, automated issue

0 comments on commit 8bfc7f7

Please sign in to comment.