feat: Add ci #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'CI' | |
description: 'Validates sentry-shared-kafka devservices config' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
files-changed: | |
name: detect what files changed | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 3 | |
outputs: | |
devservices: ${{ steps.changes.outputs.devservices }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check for backend file changes | |
uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
token: ${{ github.token }} | |
filters: | | |
devservices: | |
- 'devservices/**' | |
ci: | |
runs-on: ubuntu-24.04 | |
needs: files-changed | |
if: ${{ needs.files-changed.outputs.devservices == 'true' }} | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout repository | |
- uses: getsentry/action-validate-devservices-config@main | |
name: Validate devservices config | |