Skip to content

Commit

Permalink
Merge pull request #2175 from YunoHost/simplify_list_builder
Browse files Browse the repository at this point in the history
Add 'added_date' and 'killed_date' to catalog files.
  • Loading branch information
Salamandar authored Mar 24, 2024
2 parents f3c3cd9 + 15cd816 commit 66fbabd
Show file tree
Hide file tree
Showing 10 changed files with 1,170 additions and 38 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/added_dates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Add Added dates to the catalog files

on:
push:
pull_request_target:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install toml python lib
run: |
pip3 install toml tomlkit gitpython
- name: Add added dates to catalog files
run: |
./tools/save_added_date.py
- uses: uncenter/setup-taplo@v1
- run: taplo fmt

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Automatically add dates to the catalog files"
file_pattern: 'apps.toml wishlist.toml graveyard.toml'
Loading

0 comments on commit 66fbabd

Please sign in to comment.