- "smithy.api#documentation": "<p> The type of webhook filter. There are nine webhook filter types: <code>EVENT</code>,\n <code>ACTOR_ACCOUNT_ID</code>, <code>HEAD_REF</code>, <code>BASE_REF</code>,\n <code>FILE_PATH</code>, <code>COMMIT_MESSAGE</code>, <code>TAG_NAME</code>, <code>RELEASE_NAME</code>, \n and <code>WORKFLOW_NAME</code>. </p>\n <ul>\n <li>\n <p>\n EVENT\n </p>\n <ul>\n <li>\n <p> A webhook event triggers a build when the provided <code>pattern</code>\n matches one of nine event types: <code>PUSH</code>,\n <code>PULL_REQUEST_CREATED</code>, <code>PULL_REQUEST_UPDATED</code>, \n <code>PULL_REQUEST_CLOSED</code>, <code>PULL_REQUEST_REOPENED</code>, \n <code>PULL_REQUEST_MERGED</code>, <code>RELEASED</code>, <code>PRERELEASED</code>, \n and <code>WORKFLOW_JOB_QUEUED</code>. The <code>EVENT</code> patterns are\n specified as a comma-separated string. For example, <code>PUSH,\n PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> filters all push, pull\n request created, and pull request updated events. </p>\n <note>\n <p> The <code>PULL_REQUEST_REOPENED</code> works with GitHub and GitHub\n Enterprise only. The <code>RELEASED</code>, <code>PRERELEASED</code>, \n and <code>WORKFLOW_JOB_QUEUED</code> work with GitHub only.</p>\n </note>\n </li>\n </ul>\n </li>\n <li>\n <p>ACTOR_ACCOUNT_ID</p>\n <ul>\n <li>\n <p> A webhook event triggers a build when a GitHub, GitHub Enterprise, or\n Bitbucket account ID matches the regular expression <code>pattern</code>.\n </p>\n </li>\n </ul>\n </li>\n <li>\n <p>HEAD_REF</p>\n <ul>\n <li>\n <p> A webhook event triggers a build when the head reference matches the\n regular expression <code>pattern</code>. For example,\n <code>refs/heads/branch-name</code> and <code>refs/tags/tag-name</code>. </p>\n <note>\n <p> Works with GitHub and GitHub Enterprise push, GitHub and GitHub\n Enterprise pull request, Bitbucket push, and Bitbucket pull request events.</p>\n </note>\n </li>\n </ul>\n </li>\n <li>\n <p>BASE_REF</p>\n <ul>\n <li>\n <p> A webhook event triggers a build when the base reference matches the\n regular expression <code>pattern</code>. For example,\n <code>refs/heads/branch-name</code>. </p>\n <note>\n <p> Works with pull request events only. </p>\n </note>\n </li>\n </ul>\n </li>\n <li>\n <p>FILE_PATH</p>\n <ul>\n <li>\n <p> A webhook triggers a build when the path of a changed file matches the\n regular expression <code>pattern</code>. </p>\n <note>\n <p> Works with GitHub and Bitbucket events push and pull requests events.\n Also works with GitHub Enterprise push events, but does not work with\n GitHub Enterprise pull request events. </p>\n </note>\n </li>\n </ul>\n </li>\n <li>\n <p>COMMIT_MESSAGE</p>\n <ul>\n <li>\n <p>A webhook triggers a build when the head commit message matches the\n regular expression <code>pattern</code>.</p>\n <note>\n <p> Works with GitHub and Bitbucket events push and pull requests events.\n Also works with GitHub Enterprise push events, but does not work with\n GitHub Enterprise pull request events. </p>\n </note>\n </li>\n </ul>\n </li>\n <li>\n <p>TAG_NAME</p>\n <ul>\n <li>\n <p>A webhook triggers a build when the tag name of the release matches the \n regular expression <code>pattern</code>.</p>\n <note>\n <p> Works with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p>\n </note>\n </li>\n </ul>\n </li>\n <li>\n <p>RELEASE_NAME</p>\n <ul>\n <li>\n <p>A webhook triggers a build when the release name matches the \n regular expression <code>pattern</code>.</p>\n <note>\n <p> Works with <code>RELEASED</code> and <code>PRERELEASED</code> events only. </p>\n </note>\n </li>\n </ul>\n </li>\n <li>\n <p>WORKFLOW_NAME</p>\n <ul>\n <li>\n <p>A webhook triggers a build when the workflow name matches the \n regular expression <code>pattern</code>.</p>\n <note>\n <p> Works with <code>WORKFLOW_JOB_QUEUED</code> events only. </p>\n </note>\n </li>\n </ul>\n </li>\n </ul>",
0 commit comments