Skip to content

Do not restrict workflow triggers to addon path#22

Open
CyrilleB79 wants to merge 1 commit intonvaccess:masterfrom
CyrilleB79:revPathRestriction
Open

Do not restrict workflow triggers to addon path#22
CyrilleB79 wants to merge 1 commit intonvaccess:masterfrom
CyrilleB79:revPathRestriction

Conversation

@CyrilleB79
Copy link

Issue

In #21, a restriction has been added to workflow triggers so that the workflow runs only if files in the addon subfolder are modified.

Though as discussed in #21 (comment), modifying files outside the addon folder may have an impact on the generated .addon file:

  • some files are copied in the bundle (readme.md, style.css)
  • some files control its content, e.g. buildVars.py controls the bundled manifest file, sconstruct modification can have any effect, including on what is in the bundle, etc.

Solution

Removed the path restriction.

Note

Alternative solution was discussed, e.g. exclude some folders from the trigger rather than including only the "addon" folder. Though, it seems to me that making any hypothesis on which file / folder impacts the add-on bundle's content is quite fragile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant