diff --git a/.github/workflows/inception-test.yml b/.github/workflows/inception-test.yml index 39efa77..ae6b5ed 100644 --- a/.github/workflows/inception-test.yml +++ b/.github/workflows/inception-test.yml @@ -61,6 +61,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TRAVIS_TOKEN: ${{ secrets.TRAVIS_TOKEN }} APPVEYOR_TOKEN: ${{ secrets.APPVEYOR_TOKEN }} + CIRCLECI_CLI_TOKEN: ${{ secrets.CIRCLECI_CLI_TOKEN }} - name: Coverage report run: | diff --git a/src/tinuous/circleci.py b/src/tinuous/circleci.py index a4c8e28..d6c9fbb 100644 --- a/src/tinuous/circleci.py +++ b/src/tinuous/circleci.py @@ -317,6 +317,8 @@ class TriggerType(Enum): EXPLICIT = "explicit" API = "api" WEBHOOK = "webhook" + # Seen in the wild; I have no idea what this is: + DECOUPLED_INGESTION_SYSTEM = "Decoupled Ingestion System" def as_event_type(self) -> EventType: if self is TriggerType.SCHEDULED: @@ -332,6 +334,9 @@ def as_event_type(self) -> EventType: elif self is TriggerType.WEBHOOK: # CircleCI only runs jobs for pushes, not for PR creation return EventType.PUSH + elif self is TriggerType.DECOUPLED_INGESTION_SYSTEM: + # Just a guess + return EventType.PUSH else: raise AssertionError(f"Unexpected TriggerType {self!r}")