Skip to content

Add a workflow to retrieve all languages for the repo #1

Add a workflow to retrieve all languages for the repo

Add a workflow to retrieve all languages for the repo #1

Workflow file for this run

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 }}