-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2175 from YunoHost/simplify_list_builder
Add 'added_date' and 'killed_date' to catalog files.
- Loading branch information
Showing
10 changed files
with
1,170 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
Oops, something went wrong.