Skip to content

Do not restrict workflow triggers to addon path#22

Merged
seanbudd merged 1 commit intonvaccess:masterfrom
CyrilleB79:revPathRestriction
Mar 4, 2026
Merged

Do not restrict workflow triggers to addon path#22
seanbudd merged 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.

@seanbudd
Copy link
Member

seanbudd commented Mar 4, 2026

Happy to merge this, I think it would be nice to have a solution that avoids checks failing on PRs like this though.

@seanbudd seanbudd merged commit 6093c55 into nvaccess:master Mar 4, 2026
2 of 3 checks passed
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.

2 participants