Skip to content

Saleor Core: the high performance, composable, headless commerce API.

ci: pin remaining GitHub Actions to commit SHAs and group Dependabot updates (#19338)

Tomasz Magulskia598544af609
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index e2d4b53578..4b3b88be37 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -6,6 +6,10 @@ updates:
interval: "weekly"
cooldown:
default-days: 21 # 3 weeks
+ groups:
+ all-github-action-updates:
+ patterns:
+ - "*"
- package-ecosystem: "uv"
directory: "/"
schedule:
diff --git a/.github/workflows/bump-dependencies.yml b/.github/workflows/bump-dependencies.yml
index 7e45e01456..d5584dd53e 100644
--- a/.github/workflows/bump-dependencies.yml
+++ b/.github/workflows/bump-dependencies.yml
@@ -17,12 +17,12 @@ jobs:
pull-requests: write
steps:
- - uses: actions/checkout@v5
- - uses: actions/setup-python@v6
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- - uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.0.0
+ - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
# Do not allow cache as other actions could write to that cache
# for lateral movement, and the workflow runs too infrequently
diff --git a/.github/workflows/check-migration-tasks.yml b/.github/workflows/check-migration-tasks.yml
index 98ce03bbc9..c881fcf7cd 100644
--- a/.github/workflows/check-migration-tasks.yml
+++ b/.github/workflows/check-migration-tasks.yml
@@ -14,7 +14,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip celery check') }}
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index cb497a3d62..ebe72c7c08 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -43,13 +43,13 @@ jobs:
--health-retries 5
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install system dependencies
run: |
apt-get install -y libpq-dev
- - uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.0.0
+ - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
diff --git a/.github/workflows/github-releases-to-discord.yml b/.github/workflows/github-releases-to-discord.yml
index e3420a0901..c285f85856 100644
--- a/.github/workflows/github-releases-to-discord.yml
+++ b/.github/workflows/github-releases-to-discord.yml
@@ -14,7 +14,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Announce to Discord
uses: SethCohen/github-releases-to-discord@b96a33520f8ad5e6dcdecee6f1212bdf88b16550 # v1.19.0
diff --git a/.github/workflows/graphql-inspector.yml b/.github/workflows/graphql-inspector.yml
index 243cd36f3a..c7cfff5561 100644
--- a/.github/workflows/graphql-inspector.yml
+++ b/.github/workflows/graphql-inspector.yml
@@ -15,7 +15,7 @@ jobs:
checks: write
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: graphql-hive/graphql-inspector@8733c10560f98b868d3eb4db1325c8edf64936b3 # @graphql-inspector/[email protected]
with:
diff --git a/.github/workflows/migrations-perf-test-check.yml b/.github/workflows/migrations-perf-test-check.yml
index da1fc4e945..e07342b8db 100644
--- a/.github/workflows/migrations-perf-test-check.yml
+++ b/.github/workflows/migrations-perf-test-check.yml
@@ -22,7 +22,7 @@ jobs:
permissions: {}
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check if the decision about migrations perf test was made
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip migrations perf test') && !contains(github.event.pull_request.labels.*.name, 'migrations perf test') }}
run: exit 1
diff --git a/.github/workflows/migrations-perf-test.yml b/.github/workflows/migrations-perf-test.yml
index b2f1d7a342..736e1eb6a1 100644
--- a/.github/workflows/migrations-perf-test.yml
+++ b/.github/workflows/migrations-perf-test.yml
@@ -14,8 +14,8 @@ jobs:
id-token: write # needed by aws-actions/configure-aws-credentials
contents: read
steps:
- - uses: actions/checkout@v5
- - uses: rlespinasse/github-slug-action@c33ff65466c58d57e4d796f88bb1ae0ff26ee453 # v5.2.0
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: rlespinasse/github-slug-action@e6f261660910b273384c5c42b17a0217881b217a # v5.6.0
- id: aws-login
name: Configure AWS Credentials
@@ -74,8 +74,8 @@ jobs:
id-token: write # needed by aws-actions/configure-aws-credentials
contents: read
steps:
- - uses: actions/checkout@v5
- - uses: rlespinasse/github-slug-action@c33ff65466c58d57e4d796f88bb1ae0ff26ee453 # v5.2.0
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ - uses: rlespinasse/github-slug-action@e6f261660910b273384c5c42b17a0217881b217a # v5.6.0
- name: Get pull number
run: |
diff --git a/.github/workflows/publish-containers.yml b/.github/workflows/publish-containers.yml
index f19ba3ca2c..a9081aeee8 100644
--- a/.github/workflows/publish-containers.yml
+++ b/.github/workflows/publish-containers.yml
@@ -57,7 +57,7 @@ jobs:
# Required by docker/metadata-action
- name: Checkout
- uses: actions/checkout@v6
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ inputs.ref }}
diff --git a/.github/workflows/test-env-deploy.yml b/.github/workflows/test-env-deploy.yml
index 32062a8032..82a954d990 100644
--- a/.github/workflows/test-env-deploy.yml
+++ b/.github/workflows/test-env-deploy.yml
@@ -68,7 +68,7 @@ jobs:
id-token: write # needed by aws-actions/configure-aws-credentials
steps:
- - uses: actions/checkout@v6
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- id: aws-login
name: Configure AWS Credentials
diff --git a/.github/workflows/test-migrations-compatibility.yml b/.github/workflows/test-migrations-compatibility.yml
index df01da7c73..da2e26a425 100644
--- a/.github/workflows/test-migrations-compatibility.yml
+++ b/.github/workflows/test-migrations-compatibility.yml
@@ -36,7 +36,7 @@ jobs:
--health-retries 5
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install system dependencies
run: |
@@ -57,7 +57,7 @@ jobs:
uv run python manage.py migrate
- name: Checkout base
- uses: actions/checkout@v5
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.base.sha }}
diff --git a/.github/workflows/test-semgrep-rules.yml b/.github/workflows/test-semgrep-rules.yml
index 6b20d66be7..27e44afa9f 100644
--- a/.github/workflows/test-semgrep-rules.yml
+++ b/.github/workflows/test-semgrep-rules.yml
@@ -23,7 +23,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v5
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
sparse-checkout: |
.semgrep
diff --git a/.github/workflows/tests-and-linters.yml b/.github/workflows/tests-and-linters.yml
index 3916bfe638..8b590d3972 100644
--- a/.github/workflows/tests-and-linters.yml
+++ b/.github/workflows/tests-and-linters.yml
@@ -64,13 +64,13 @@ jobs:
--health-retries 5
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install system dependencies
run: |
apt-get install -y libpq-dev
- - uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.0.0
+ - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
@@ -146,13 +146,13 @@ jobs:
contents: read
steps:
- - uses: actions/checkout@v5
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install system dependencies
run: |
apt-get install -y libpq-dev
- - uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 # v6.0.0
+ - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
@@ -160,7 +160,7 @@ jobs:
run: |
uv sync --locked
- - uses: actions/cache@v4
+ - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}