From cd5930fc2a9a9123b0fceb970331d3f68dedfa0d Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 5 Jun 2022 19:36:25 +0200 Subject: [PATCH] tools: automatically add github metdata (stargazers_count/udpated_at) to all software entries missing these - https://docs.github.com/en/actions/security-guides/automatic-token-authentication --- .github/workflows/ci.yml | 5 +++++ Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e239d4535e..430fe2583a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,16 @@ on: branches: [ master ] workflow_dispatch: +env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + jobs: build: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v3 + - name: process + run: make process - name: build run: make build diff --git a/Makefile b/Makefile index 966acb381d..5a74be6591 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ import: install rm -rf tags/ software/ platforms/ mkdir -p tags/ software/ platforms/ source .venv/bin/activate && \ - hecat import --source-file awesome-selfhosted/README.md --output-directory ./ + hecat import --source-file awesome-selfhosted/README.md --output-directory ./ --options=gh-metadata-only-missing .PHONY: process # apply automatic processing (gather github metadata) process: install