ignore cassettes and current score for all push events in github action (#4485)

This commit is contained in:
merwanehamadi
2023-05-30 17:16:49 -07:00
committed by GitHub
parent 64973bfe12
commit 9e9b128b72
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,9 @@ name: Docker CI
on:
push:
branches: [ master ]
paths-ignore:
- 'tests/Auto-GPT-test-cassettes'
- 'tests/integration/challenges/current_score.json'
pull_request:
branches: [ master, stable ]

View File

@@ -4,6 +4,9 @@ on:
# So that PRs touching the same files as the push are updated
push:
branches: [ master ]
paths-ignore:
- 'tests/Auto-GPT-test-cassettes'
- 'tests/integration/challenges/current_score.json'
# So that the `dirtyLabel` is removed if conflicts are resolve
# We recommend `pull_request_target` so that github secrets are available.
# In `pull_request` we wouldn't be able to change labels of fork PRs