Skip to content

Commit 8238532

Browse files
strtgbbMyroTk
authored andcommitted
fix preview report and grype links
1 parent cf25ee8 commit 8238532

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

.github/grype/transform_and_upload_results_s3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DOCKER_IMAGE=$(echo "$DOCKER_IMAGE" | sed 's/[\/:]/_/g')
22

33
if [ "$PR_NUMBER" -eq 0 ]; then
4-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
4+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
55
else
66
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
77
fi

.github/workflows/backport_branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
6565
run: |
6666
if [ "$PR_NUMBER" -eq 0 ]; then
67-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
67+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
6868
else
6969
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
7070
fi

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
6464
run: |
6565
if [ "$PR_NUMBER" -eq 0 ]; then
66-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
66+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
6767
else
6868
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
6969
fi

.github/workflows/merge_queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
5353
run: |
5454
if [ "$PR_NUMBER" -eq 0 ]; then
55-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
55+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
5656
else
5757
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
5858
fi

.github/workflows/nightly_fuzzers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
4141
run: |
4242
if [ "$PR_NUMBER" -eq 0 ]; then
43-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
43+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
4444
else
4545
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
4646
fi

.github/workflows/nightly_jepsen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
4141
run: |
4242
if [ "$PR_NUMBER" -eq 0 ]; then
43-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
43+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
4444
else
4545
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
4646
fi

.github/workflows/nightly_statistics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
4141
run: |
4242
if [ "$PR_NUMBER" -eq 0 ]; then
43-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
43+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
4444
else
4545
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
4646
fi

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
6565
run: |
6666
if [ "$PR_NUMBER" -eq 0 ]; then
67-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
67+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
6868
else
6969
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
7070
fi

.github/workflows/release_branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
6464
run: |
6565
if [ "$PR_NUMBER" -eq 0 ]; then
66-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
66+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
6767
else
6868
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
6969
fi

ci/praktika/yaml_additional_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AltinityWorkflowTemplates:
2727
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
2828
run: |
2929
if [ "$PR_NUMBER" -eq 0 ]; then
30-
PREFIX="REFs/$BRANCH/$COMMIT_SHA"
30+
PREFIX="REFs/$GITHUB_REF_NAME/$COMMIT_SHA"
3131
else
3232
PREFIX="PRs/$PR_NUMBER/$COMMIT_SHA"
3333
fi

0 commit comments

Comments
 (0)