Open
Conversation
This workflow enables automatic regeneration of Nickel packages when: - Triggered by the Amalgam repository via repository_dispatch - Manually triggered via workflow_dispatch - Weekly scheduled rebuild (Mondays at 2 AM UTC) The workflow: - Checks out the latest Amalgam code - Builds Amalgam from source - Regenerates all packages from .amalgam-manifest.toml - Creates a PR with changes if any packages were updated This integration allows nickel-pkgs to stay up-to-date with: - Amalgam tooling improvements - Upstream CRD changes - Package metadata updates
Remove the automatic weekly rebuild schedule. The workflow will now only be triggered by: - repository_dispatch from the Amalgam repo - manual workflow_dispatch
Update default fallback values to 'Manual trigger' and 'Manual' since the scheduled trigger has been removed.
Use heredocs for multi-line strings in commit message and PR body to avoid YAML parsing errors. This resolves the syntax error on line 90.
Replace heredoc syntax with simple variable assignments for commit message and PR body to prevent YAML syntax errors.
Simplified multi-line commit message handling by: - Removing problematic bash multi-line string variable - Moving logic to compute MORE_FILES before commit - Using direct git commit -m with properly formatted message
Changes to ensure YAML compatibility: - Fixed heredoc indentation using spaces (not tabs) with sed cleanup - Changed commit message from multi-line variable to printf with pipe - Simplified PR creation to avoid complex multi-line strings - Removed emojis and special characters from summary that confuse parsers - All changes tested with Python YAML validator This should now pass GitHub Actions YAML validation.
- Restored full PR body with trigger info, commit links, and checklist - Removed emoji from header to ensure YAML compatibility - Uses temp file with sed replacements for YAML-safe multiline content
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.