Jump to content

[Armbian build PR] - actions: Use "all-globs" instead of "any-glob" for negated checks


Recommended Posts

Posted

Description

If we want to check if a file is not from one of the listed folders, it needs to be check that "NOT x AND NOT y AND NOT z" is true, instead of "NOT x OR NOT y OR NOT z"

Example: This PR should not have the "Hardware" label: https://github.com/armbian/build/pull/6781

How Has This Been Tested?

  • [ ] To be tested in future PRs

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines