Update dependency @opentelemetry/semantic-conventions to v1.24.1 #73
Workflow file for this run
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
name: Checks - Recipe dependencies | |
on: | |
pull_request: | |
paths: | |
- "src/**" | |
- "!src/site/**" | |
jobs: | |
gen-matrix: | |
name: Validate recipe file dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Get changed files | |
id: diff | |
uses: tj-actions/changed-files@v44 | |
with: | |
json: true | |
dir_names_exclude_current_dir: true | |
- name: Get recipes with out-of-sync dependencies | |
uses: actions/github-script@v7 | |
id: generator | |
with: | |
script: | | |
const script = require('.github/scripts/validate-dependencies.js'); | |
return script('${{ steps.diff.outputs.all_changed_files }}', '${{ github.workspace }}'); | |
- name: Validate | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const errors = JSON.parse('${{ steps.generator.outputs.result }}'); | |
if (errors.length === 0) { | |
return; | |
} | |
console.log(errors); | |
core.setFailed("Encountered recipe files with out-of-sync dependencies. See the above logs for more information."); |