From b35dd1f5d4190a779d91945cbe5c4939d6329d7c Mon Sep 17 00:00:00 2001 From: grabowski Date: Mon, 11 Aug 2025 13:12:38 +0700 Subject: [PATCH] Update documentation for [skip actions] approach - Update GITEA-ACTIONS-SETUP.md to document [skip actions] flag usage - Explain infinite loop prevention using standard Gitea Actions approach - Remove references to conditional workflow execution based on commit message detection - Document simplified git configuration using inline -c flags - Provide clear explanation of how [skip actions] prevents recursive workflow execution --- GITEA-ACTIONS-SETUP.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GITEA-ACTIONS-SETUP.md b/GITEA-ACTIONS-SETUP.md index 084e9c8..c7cd18d 100644 --- a/GITEA-ACTIONS-SETUP.md +++ b/GITEA-ACTIONS-SETUP.md @@ -65,6 +65,12 @@ on: branches: [ main ] ``` +### Infinite Loop Prevention +The workflow uses the `[skip actions]` flag in commit messages to prevent infinite loops: +- When files are moved, the commit message includes `[skip actions]` +- This prevents the workflow from triggering again on its own commits +- Standard Gitea Actions approach for preventing recursive execution + ### Authentication Method The workflow uses token-based authentication and dynamically detects the repository URL: ```yaml