Skip to content

Commit

Permalink
ci: execute unit tests and tidy check against merge of PR branch and …
Browse files Browse the repository at this point in the history
…main (#2452)
  • Loading branch information
malt3 authored Oct 16, 2023
1 parent 776d43d commit 43f7d9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
# ref is unset here intentionally to ensure we test against a merge of PR and main branch
# No token available for forks, so we can't push changes
token: ${{ !github.event.pull_request.head.repo.fork && secrets.CI_COMMIT_PUSH_PR || '' }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
# ref is unset here intentionally to ensure we test against a merge of PR and main branch
fetch-depth: 0

- name: Install AWS cli
Expand Down

0 comments on commit 43f7d9f

Please sign in to comment.