Skip to content

Update tech_radar.yml #19

Update tech_radar.yml

Update tech_radar.yml #19

Workflow file for this run

name: Update Tech Radar
on:
push:
schedule:
- cron: '0 0 * * *'
jobs:
update_tech_radar:
runs-on: ubuntu-latest
name: Update Tech Radar
steps:
- name: Install gomplate
run: npm install -g gomplate
- name: Get the list of repositories
id: repository_list
env:
GH_TOKEN: ${{ github.token }}
run: >
echo repository_list_json=$(
gh repo list ${{ github.repository_owner }}
--limit 1000
--source
--no-archived
--visibility public
--json name,primaryLanguage,url
--jq '. | tostring'
) >> $GITHUB_OUTPUT
- run: pwd
- run: ls -s
- name: Update the list of used languages
run: >
echo ${{ toJSON(steps.repository_list.outputs.repository_list_json) }}
| gomplate -d repositories=stdin:///in.json -f /techRadar/used_languages.tmpl