chore: rename supply chain workflow files for consistency and clarity

This commit is contained in:
GitHub Actions
2026-02-18 02:11:24 +00:00
parent 88553a6fe3
commit bb79550c33
4 changed files with 14 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ jobs:
{ id: 'e2e-tests-split.yml' },
{ id: 'codecov-upload.yml', inputs: { run_backend: 'true', run_frontend: 'true' } },
{ id: 'security-pr.yml' },
{ id: 'supply-chain-pr.yml' },
{ id: 'supply-chain-verify.yml' },
{ id: 'codeql.yml' },
];

View File

@@ -357,7 +357,7 @@ jobs:
retention-days: 14
- name: Comment on PR
if: steps.set-target.outputs.image_name != '' && steps.pr-number.outputs.is_push != 'true'
if: steps.set-target.outputs.image_name != '' && steps.pr-number.outputs.is_push != 'true' && steps.pr-number.outputs.pr_number != ''
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |

View File

@@ -79,6 +79,17 @@ jobs:
# Replace / with - to avoid invalid reference format errors
TAG=$(echo "${BRANCH}" | tr '/' '-')
fi
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
BRANCH="${{ github.ref_name }}"
if [[ "${BRANCH}" == "main" ]]; then
TAG="latest"
elif [[ "${BRANCH}" == "development" ]]; then
TAG="dev"
elif [[ "${BRANCH}" == "nightly" ]]; then
TAG="nightly"
else
TAG=$(echo "${BRANCH}" | tr '/' '-')
fi
else
TAG="latest"
fi

View File

@@ -444,7 +444,7 @@ jobs:
{ id: 'codeql.yml' },
{ id: 'codecov-upload.yml', inputs: { run_backend: 'true', run_frontend: 'true' } },
{ id: 'security-pr.yml' },
{ id: 'supply-chain-pr.yml' },
{ id: 'supply-chain-verify.yml' },
];
for (const workflow of requiredWorkflows) {