mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted-data.git
synced 2026-03-11 08:55:24 +00:00
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
This commit is contained in:
parent
7af74bf5d0
commit
cd5930fc2a
2 changed files with 6 additions and 1 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -6,11 +6,16 @@ on:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
- name: process
|
||||||
|
run: make process
|
||||||
- name: build
|
- name: build
|
||||||
run: make build
|
run: make build
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -14,7 +14,7 @@ import: install
|
||||||
rm -rf tags/ software/ platforms/
|
rm -rf tags/ software/ platforms/
|
||||||
mkdir -p tags/ software/ platforms/
|
mkdir -p tags/ software/ platforms/
|
||||||
source .venv/bin/activate && \
|
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)
|
.PHONY: process # apply automatic processing (gather github metadata)
|
||||||
process: install
|
process: install
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue