code: def strip_ci_directives(commit_message):
      # Remove things like '[force ci]', '[skip appveyor]' from the assembled
      # commit message
      return _REGEX_CI_DIRECTIVE.sub("", commit_message)
  
imports: import configparser
  import os
  import pprint
  import re
  import subprocess
  import sys
  import requests
  import getpass
  from six.moves import input
  import six
label_desc: Use image node_id 3 for calling a global function with example usage: strip_ci_directives(commit_message) and returns: _REGEX_CI_DIRECTIVE