Skip to content
Source
Sign inSign up
pingdotgg/t3code

ci: skip jobs a pull request cannot affect #19587

Mergedmaria-rcksmerged 4 commits intomain fromrefs/pull/19587/headmerged by maria-rcks View on GitHub

Showing 5 changed files with 63 additions and 0 deletions (loading 4).

x
0 of 5 viewed, 5 left
63 additions and 0 deletions.github/actions/ci-changes/action.ymlAdded
View file
@@ -0,0 +1,63 @@
+name: CI changes
+description: Decide which CI jobs a change needs. See .github/scripts/ci-changes.cjs.
+outputs:
+ typecheck:
+ value: ${{ steps.detect.outputs.typecheck }}
+ build:
+ value: ${{ steps.detect.outputs.build }}
+ test:
+ value: ${{ steps.detect.outputs.test }}
+ test_packages:
+ value: ${{ steps.detect.outputs.test_packages }}
+ test_web:
+ value: ${{ steps.detect.outputs.test_web }}
+ test_server:
+ value: ${{ steps.detect.outputs.test_server }}
+ rust:
+ value: ${{ steps.detect.outputs.rust }}
+ release_smoke:
+ value: ${{ steps.detect.outputs.release_smoke }}
+ mobile_native:
+ value: ${{ steps.detect.outputs.mobile_native }}
+runs:
+ using: composite
+ steps:
+ - id: detect
+ shell: bash
+ env:
+ EVENT_NAME: ${{ github.event_name }}
+ BEFORE_SHA: ${{ github.event.before }}
+ run: |