This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
fix: copy already distributed shared workflows and actions to their old locations #689
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
on: | |
pull_request: | |
paths-ignore: | |
- 'configs/*.json' | |
name: Check 3rd Party | |
jobs: | |
matrix: | |
runs-on: ubuntu-latest | |
outputs: | |
targets: ${{ steps.set-matrix.outputs.targets }} | |
steps: | |
- uses: actions/checkout@v3 | |
- id: set-matrix | |
run: | | |
TARGETS=$(find . -type f -name "*.yml" | sed "s|^\./||" | grep -v workflow-templates/header.yml | jq -R -s -c 'split("\n")[:-1]') | |
echo "targets=$TARGETS" >> $GITHUB_OUTPUT | |
check: | |
needs: [ matrix ] | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
file: ${{ fromJSON(needs.matrix.outputs.targets) }} | |
name: ${{ matrix.file }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run check | |
env: | |
FILE: ${{ matrix.file }} | |
run: ./scripts/check-3rd-party.sh $FILE |