Skip to content

Commit

Permalink
Merge pull request microsoft#157 from john0isaac/fix-workflow-skips-e…
Browse files Browse the repository at this point in the history
…xecution

fix: workflow skips execution
  • Loading branch information
leestott authored Nov 9, 2023
2 parents 547e32e + 61536e7 commit 43402d0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/validate-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
repo: context.repo.repo,
body: `
We have automatically detected the following broken relative paths in your lessons.
Please check the file paths and associated broken paths inside them.
Please check the file paths and associated broken paths inside them.
Learn more from our [contributing guide](https://github.com/microsoft/generative-ai-for-beginners/blob/main/CONTRIBUTING.md).
# Check Broken Paths
${{ env.BROKEN_PATHS }}
`
Expand All @@ -59,6 +60,7 @@ jobs:
run: exit 1

check-paths-tracking:
if: ${{ always() }}
needs: check-broken-paths
name: Check Paths Have Tracking
runs-on: ubuntu-latest
Expand Down Expand Up @@ -93,6 +95,7 @@ jobs:
body: `
We have automatically detected missing tracking id from the following relative paths in your lessons.
Please check the file paths and associated paths inside them.
Learn more from our [contributing guide](https://github.com/microsoft/generative-ai-for-beginners/blob/main/CONTRIBUTING.md).
# Check Missing Tracking from Paths
${{ env.PATHS_TRACKING }}
`
Expand All @@ -102,6 +105,7 @@ jobs:
run: exit 1

check-urls-tracking:
if: ${{ always() }}
needs: check-paths-tracking
name: Check URLs Have Tracking
runs-on: ubuntu-latest
Expand Down Expand Up @@ -136,6 +140,7 @@ jobs:
body: `
We have automatically detected missing tracking id from the following URLs in your lessons.
Please check the file paths and associated URLs inside them.
Learn more from our [contributing guide](https://github.com/microsoft/generative-ai-for-beginners/blob/main/CONTRIBUTING.md).
# Check Missing Tracking from URLs
${{ env.URLS_TRACKING }}
`
Expand All @@ -145,6 +150,7 @@ jobs:
run: exit 1

check-urls-locale:
if: ${{ always() }}
needs: check-urls-tracking
name: Check URLs Don't Have Locale
runs-on: ubuntu-latest
Expand Down Expand Up @@ -179,6 +185,7 @@ jobs:
body: `
We have automatically detected added country locale to URLs in your lessons.
Please check the file paths and associated URLs inside them.
Learn more from our [contributing guide](https://github.com/microsoft/generative-ai-for-beginners/blob/main/CONTRIBUTING.md).
# Check Country Locale in URLs
${{ env.URLS_LOCALE }}
`
Expand Down

0 comments on commit 43402d0

Please sign in to comment.