Allow exit codes to work inside of rules

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Issue summary

Get exit codes to work inside rules as a follow to #292024 (closed).

    - when: always
      allow_failure:
          exit_codes:
            - 181
            - 182
            - 1
            - 126
            - 127
            - 128
            - 130
            - 137
            - 143

Expected Behavior

That the exit codes can be adhered to the inside of rules to allow failures to occur when those codes occur.

Edited by 🤖 GitLab Bot 🤖