mirror of
https://github.com/nortakales/flipper-zero-tonies.git
synced 2025-12-06 06:45:05 +01:00
Minor workflow tweaks
This commit is contained in:
parent
e45982bcf9
commit
677ff1d7c7
4 changed files with 13 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: build known tonies for each language
|
||||
name: Build directory markdown files
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -11,16 +11,16 @@ jobs:
|
|||
contents: write
|
||||
|
||||
steps:
|
||||
- name: checkout
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: build known tonies
|
||||
run: ./build_known_tonies.sh
|
||||
- name: Build directories
|
||||
run: ./build_directories.sh
|
||||
|
||||
- name: Commit changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
file_pattern: '*/*.md'
|
||||
commit_message: update language specific known tonies list
|
||||
file_pattern: "*/*.md"
|
||||
commit_message: Auto update directory markdown files
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
name: Validate NFC Files
|
||||
name: Validate NFC files
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: [ opened, synchronize, reopened ]
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
|
|
@ -14,5 +14,5 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: validate
|
||||
run: ./validation.sh
|
||||
- name: Run validation
|
||||
run: ./validate_files.sh
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Building known tonies for each folder"
|
||||
echo "Building directory markdown files for known tonies"
|
||||
|
||||
while read -r LANG_DIR; do
|
||||
NFC_FILES=()
|
||||
|
|
@ -13,9 +13,9 @@ while read -r LANG_DIR; do
|
|||
|
||||
echo "${FOLDER} has ${NFC_FILES_COUNT}"
|
||||
{
|
||||
echo "# ${NFC_FILES_COUNT} ${FOLDER} NFC Files"
|
||||
echo "# ${FOLDER} Tonies (${NFC_FILES_COUNT} files)"
|
||||
echo ""
|
||||
echo "automatically generated, do not edit"
|
||||
echo "*Note: this file is automatically generated, do not edit manually*"
|
||||
echo ""
|
||||
echo "| Folder | Filename |"
|
||||
echo "|--------|----------|"
|
||||
Loading…
Add table
Add a link
Reference in a new issue