Skip to content

Commit f645288

Browse files
committed
Apply changes from main
1 parent 1c445dd commit f645288

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- 8.x
87
- '[0-9]+.[0-9]+'
98
push:
109
branches:
@@ -47,9 +46,9 @@ jobs:
4746
uses: actions/cache@v4
4847
with:
4948
path: ./clients-flight-recorder/recordings/types-validation/types-validation.json
50-
key: types-validation-json-${{ github.event_name == 'pull_request' && format('{0}-{1}', github.head_ref, github.event.pull_request.base.sha) || format('{0}-{1}', github.ref_name, github.sha) }}
49+
key: types-validation-json-${{ github.event_name == 'pull_request' && format('{0}-{1}', github.base_ref, github.event.pull_request.base.sha) || format('{0}-{1}', github.ref_name, github.sha) }}
5150
restore-keys: |
52-
types-validation-json-${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}-
51+
types-validation-json-${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}-
5352
5453
- name: Install deps 1/2
5554
working-directory: ./clients-flight-recorder
@@ -72,15 +71,14 @@ jobs:
7271
- name: Download artifacts
7372
working-directory: ./clients-flight-recorder
7473
run: |
75-
if [[ -n "${GITHUB_BASE_REF+x}" ]]; then
74+
if [[ -n "${GITHUB_BASE_REF:-}" ]]; then
7675
branch=$GITHUB_BASE_REF
7776
else
7877
branch=$GITHUB_REF_NAME
7978
fi
79+
echo "Using branch: $branch"
8080
node scripts/upload-recording/download.js --branch $branch --git
8181
node scripts/clone-elasticsearch/index.js --branch $branch
82-
env:
83-
GCS_CREDENTIALS: ${{ secrets.GCS_CREDENTIALS }}
8482
8583
- name: Run validation (Push)
8684
if: github.event_name == 'push'

0 commit comments

Comments
 (0)