Add a workflow to retrieve all languages for the repo #1
Workflow file for this run
This file contains hidden or 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: Central repo for running language checks | |
| on: | |
| push: | |
| jobs: | |
| languages: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: get | |
| run: | | |
| echo languages ${{github.event.repository.language}} | |
| echo languages_url ${{github.event.repository.languages_url}} | |
| outputs: | |
| languages: "python" | |
| print: | |
| needs: [languages] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| strategy: | |
| matrix: | |
| language: ${{ fromJSON(needs.languages.outputs.languages) }} | |
| steps: | |
| - run: echo ${{ matrix.language }} |