Skip to content

Commit 4be1099

Browse files
authored
ci: Optimized the lambda layers and k8s init containers post release workflow (#2915)
1 parent d2e8a9e commit 4be1099

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/release-lambda-init-containers.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@ on:
99
jobs:
1010
release-tags:
1111
runs-on: ubuntu-latest
12+
if:
13+
(github.event.workflow_run && github.event.workflow_run.conclusion == 'success') ||
14+
(github.event_name == 'workflow_dispatch')
1215
steps:
1316
- uses: actions/checkout@v4
1417
with:
1518
fetch-depth: 2
16-
- uses: actions/setup-node@v4
17-
with:
18-
node-version: 'lts/*'
19-
- run: npm install
20-
- run: |
21-
git config user.name ${GITHUB_ACTOR}
22-
git config user.email gh-actions-${GITHUB_ACTOR}@github.com
2319
- id: get_tag
2420
run: echo "latest_tag=$(cat package.json | jq .version)" >> $GITHUB_OUTPUT
2521
- name: Create release tags for Lambda and K8s Init Containers

0 commit comments

Comments
 (0)