cloud-barista / cb-operator

The Operator for Cloud-Barista system
Apache License 2.0
6 stars 6 forks source link

Update 'paths-to-ignore' in build test workflow #165

Closed jihoon-seo closed 3 years ago

jihoon-seo commented 3 years ago

현재 build-test.yamlsrc/ 아래에 있는 cb-operator 소스코드에 대한 빌드 테스트를 수행합니다.

  - 'docker-compose-mode-files/**'
  - 'helm-chart/**'
  - 'docs/**'

이 디렉토리의 파일들은 cb-operator 바이너리에 영향을 미치지 않으므로 paths-ignore: 에 추가합니다. 😊

jihoon-seo commented 3 years ago

https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-including-paths

paths-ignore: 보다 paths: 가 낫겠네요 😊

jihoon-seo commented 3 years ago

https://github.com/cloud-barista/cb-operator/actions/runs/1284910880

you may only define one of paths and paths-ignore for a single event

😁😁😁


https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-using-positive-and-negative-patterns-1

on:
  push:
    paths:
      - 'sub-project/**'
      - '!sub-project/docs/**'