-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make checkout ref conditional based on PR or Nightly.
- Loading branch information
1 parent
1d9dfd6
commit 2941b43
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
# We need a sufficient depth or Danger will occasionally run into issues checking which files were modified. | ||
fetch-depth: 100 | ||
# This is dangerous without the member check | ||
ref: ${{ github.head_ref }} | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Install Dependencies | ||
run: | | ||
npm install [email protected] | ||
|
@@ -102,4 +102,5 @@ jobs: | |
uses: ./.github/workflows/reusable-workflow.yaml | ||
with: | ||
lib: ${{ matrix.lib }} | ||
is_pr: true | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters