Skip to content

Commit

Permalink
fix: short-circuit allowed files check on CI
Browse files Browse the repository at this point in the history
Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
  • Loading branch information
f0rmiga committed Jan 11, 2022
1 parent dffae9c commit 5447df7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Validate changed files
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'allow sdk change')
run: ./.github/workflows/validate_changed_files.sh ${{ github.head_ref }} ${{ github.base_ref }}
- uses: bazelbuild/setup-bazelisk@v1
- name: Bazel caches
uses: actions/cache@v2
Expand All @@ -22,9 +25,6 @@ jobs:
~/.cache/bazel
~/.cache/bazel-repo
key: bazel-cache
- name: Validate changed files
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'allow sdk change')
run: ./.github/workflows/validate_changed_files.sh ${{ github.head_ref }} ${{ github.base_ref }}
- name: Tidy up repository
run: ./.github/workflows/tidy_up_repository.sh
- name: bazel test //...
Expand Down

0 comments on commit 5447df7

Please sign in to comment.