Skip to content

Commit 7242ea1

Browse files
committed
Merge branch 'main' into fix/line-discounts-discoverabilty
2 parents e769d68 + b8e8064 commit 7242ea1

301 files changed

Lines changed: 4992 additions & 1528 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/khaki-tips-stop.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/old-books-travel.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/quiet-rooms-pull.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/sweet-tables-start.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/upset-frogs-marry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/vast-pears-clean.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/actions/checks/create-pull-request-check/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ runs:
2727
steps:
2828
- name: Get Pull Request head_sha
2929
shell: bash
30+
id: get-head-sha
3031
env:
3132
GH_TOKEN: ${{ github.token }}
3233
PR_HEAD: ${{ inputs.PR_HEAD }}
@@ -36,22 +37,23 @@ runs:
3637
-H "X-GitHub-Api-Version: 2022-11-28" \
3738
"/repos/saleor/saleor-dashboard/pulls?head=saleor:${PR_HEAD}" > data.json
3839
head_sha_with_quotes=$(jq '.[0] | .head.sha' data.json)
39-
echo "PULL_REQUEST_HEAD_SHA=${head_sha_with_quotes//\"/}" >> "$GITHUB_ENV"
40+
echo "pr-head-sha=${head_sha_with_quotes//\"/}" >> "$GITHUB_OUTPUT"
4041
4142
- name: Create check
42-
if: ${{ env.PULL_REQUEST_HEAD_SHA }}
43+
if: ${{ steps.get-head-sha.outputs.pr-head-sha }}
4344
shell: bash
4445
id: create-check
4546
env:
4647
GH_TOKEN: ${{ github.token }}
4748
NAME: ${{ inputs.CHECK_NAME }}
4849
STATUS: ${{ inputs.STATUS }}
4950
TITLE: ${{ inputs.TITLE }}
51+
PR_HEAD_SHA: ${{ steps.get-head-sha.outputs.pr-head-sha }}
5052
run: |
5153
payload=$(\
5254
jq --null-input \
5355
--arg name "$NAME" \
54-
--arg head_sha "$PULL_REQUEST_HEAD_SHA" \
56+
--arg head_sha "$PR_HEAD_SHA" \
5557
--arg status "$STATUS" \
5658
--arg title "$TITLE" \
5759
--arg details_url "$DETAILS_URL" \

.github/actions/get-env-vars/action.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
using: composite
2525
steps:
2626
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
27-
- uses: actions/setup-node@v4
27+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2828
with:
2929
node-version-file: "package.json"
3030
cache: pnpm
@@ -39,9 +39,11 @@ runs:
3939
env:
4040
REPO_TOKEN: ${{ inputs.repo_token }}
4141
TOKEN: ${{ inputs.token }}
42+
VERSION: ${{ inputs.version }}
43+
PROJECT: ${{ inputs.project }}
4244
run: |
4345
node .github/scripts/get-release-env-vars.js \
44-
--version ${{ inputs.version }} \
45-
--token "$TOKEN" \
46-
--repo_token "$REPO_TOKEN" \
47-
--project "${{ inputs.project }}"
46+
--version="$VERSION" \
47+
--token="$TOKEN" \
48+
--repo_token="$REPO_TOKEN" \
49+
--project="$PROJECT"

.github/actions/merge-pw-reports/action.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
using: "composite"
1515
steps:
1616
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
17-
- uses: actions/setup-node@v4
17+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1818
with:
1919
node-version-file: "package.json"
2020
cache: "pnpm"
@@ -24,7 +24,7 @@ runs:
2424
run: pnpm install
2525

2626
- name: Download blob reports from GitHub Actions Artifacts
27-
uses: actions/download-artifact@v4
27+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
2828
with:
2929
path: all-blob-reports
3030
pattern: ${{ inputs.ARTIFACT_PREFIX && format('{0}-all-blob-reports-*', inputs.ARTIFACT_PREFIX) || 'all-blob-reports-*' }}
@@ -39,16 +39,15 @@ runs:
3939
zip -P "$PASSWORD_FOR_DECODING_ARTIFACT" secure-report.zip -r ./playwright-report
4040
4141
- name: Upload HTML report
42-
uses: actions/upload-artifact@v4
42+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
4343
with:
4444
name: ${{ inputs.ARTIFACT_PREFIX && format('{0}-html-report--attempt-{1}', inputs.ARTIFACT_PREFIX, github.run_attempt) || format('html-report--attempt-{0}', github.run_attempt) }}
4545
path: secure-report.zip
4646
retention-days: 14
4747

4848
- name: Merge blob reports
49-
uses: actions/upload-artifact/merge@v4
49+
uses: actions/upload-artifact/merge@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
5050
with:
5151
name: ${{ inputs.ARTIFACT_PREFIX && format('{0}-merged-blob-reports', inputs.ARTIFACT_PREFIX) || 'merged-blob-reports' }}
5252
pattern: ${{ inputs.ARTIFACT_PREFIX && format('{0}-all-blob-reports-*', inputs.ARTIFACT_PREFIX) || 'all-blob-reports-*' }}
5353
retention-days: 7
54-
delete-merged: true

.github/actions/prepare-accounts/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
using: "composite"
3030
steps:
3131
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
32-
- uses: actions/setup-node@v4
32+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3333
with:
3434
node-version-file: "package.json"
3535
cache: pnpm

0 commit comments

Comments
 (0)