jdecool/scaleway-runtimepublic Fork
⑂ 95ab14b
Commits
⬇ Clone ▾
git clone https://git.rickub.com/jdecool/scaleway-runtime.git
git clone ssh://git@rickub.com/jdecool/scaleway-runtime.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

ci: fail early when the Scaleway credentials of the catalogue workflow are missingUnverified

The weekly run failed with 'scaleway-sdk-go: access key cannot be empty'
because the repository had none of the SCW_* secrets.
Jérémy DECOOL committed 2026-11-23T08:52:58+01:00 Browse files
95ab14b parent: f25a0cc
modified .github/workflows/function-runtimes.yml +7 -0
@@ -24,6 +24,13 @@ jobs:
2424 SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}
2525 SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
2626 steps:
27+ # Missing secrets otherwise surface as a cryptic Terraform provider error.
28+ - name: Check the Scaleway credentials
29+ run: |
30+ for name in SCW_ACCESS_KEY SCW_SECRET_KEY SCW_DEFAULT_PROJECT_ID; do
31+ [ -n "${!name}" ] || { echo "::error::The $name repository secret is not set, see docs/probe-results.md."; exit 1; }
32+ done
33+
2734 - uses: actions/checkout@v7
2835
2936 - uses: shivammathur/setup-php@v2
@@ -24,6 +24,13 @@ jobs:
24 SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}24 SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}
25 SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}25 SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
26 steps:26 steps:
27+ # Missing secrets otherwise surface as a cryptic Terraform provider error.
28+ - name: Check the Scaleway credentials
29+ run: |
30+ for name in SCW_ACCESS_KEY SCW_SECRET_KEY SCW_DEFAULT_PROJECT_ID; do
31+ [ -n "${!name}" ] || { echo "::error::The $name repository secret is not set, see docs/probe-results.md."; exit 1; }
32+ done
33+
27 - uses: actions/checkout@v734 - uses: actions/checkout@v7
28 35
29 - uses: shivammathur/setup-php@v236 - uses: shivammathur/setup-php@v2