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 8, 2022
1 parent da3a1e1 commit 8371ad9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Validate changed files
if: github.event_name == 'pull_request'
run: ./.github/workflows/validate_changed_files.sh ${{ github.head_ref }} ${{ github.base_ref }}
- uses: bazelbuild/setup-bazelisk@v1
- name: Mount bazel action cache
uses: actions/cache@v2
Expand All @@ -31,9 +34,6 @@ jobs:
with:
path: .cache/bazel-repo
key: bazel-repo
- name: Validate changed files
if: github.event_name == 'pull_request'
run: ./.github/workflows/validate_changed_files.sh ${{ github.head_ref }} ${{ github.base_ref }}
- name: bazel test //...
env:
XDG_CACHE_HOME: .cache/bazel-repo
Expand Down

0 comments on commit 8371ad9

Please sign in to comment.