News for hackers. Stuff that matters.
Re:Running GitHub Actions for Certain Commit Messages by derefr on Thursday October 01, 2020 @11:07AM (#24651736)
YAML tags precede their value-terms. For a string value, the !tag syntax occurs before the opening quotation mark/heredoc marker of the string. It’s like a Java annotation.

This isn’t a YAML tag; it’s just YAML embedding some opaque text from some random command-language that uses exclamation marks to mean something.

In fact, actually considering the meaning of the action, the ! used here probably is just the regular ol’ boolean NOT operator in most languages: the action has specified that it should trigger only for commits that aren’t tagged as WIPs. (Which is an eminently-sensible condition to provide.)

Re:Running GitHub Actions for Certain Commit Messages by nickjj on Thursday October 01, 2020 @12:04PM (#24652512)
Good catch, yeah I think you're right about how it's currently implemented with GH actions.

Which makes things even more confusing overall since ! is a thing in YAML when it's not wrapped in quotes.

Suddenly you have all of these tools implementing their idea of custom behavior in different ways.