title: Conditional to check if a string is included in a list?
body: <p>How can I do <code>if github.event.action in ['foo', 'bar']</code> using GitHub Actions? I want to limit some actions from <a href="https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#release" rel="noreferrer">https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#release</a> and the list of possible values is quite long.</p>
  <p>Using <code>||</code> makes the entire construct huge, especially if you already need to combine it with other conditions.</p>