-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathmain.js
More file actions
22 lines (21 loc) · 828 Bytes
/
main.js
File metadata and controls
22 lines (21 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* Copyright (c) 2025, Salesforce, Inc.
* All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
/**
* @file main.js
* @description Arms the post-release cleanup for MRT targets in CI.
*
* Intentionally empty. This file just needs to exist. Post step will read INPUT_DETAILS_FILE and perform release.
*
* Why:
* - GitHub Actions post steps execute even when a job fails or is manually cancelled,
* providing best-effort cleanup of leased resources.
* - Keeping the actual release in post.js avoids releasing too early while the job
* is still running and centralizes all teardown logic at job end.
*
* See also:
* - post.js (performs the actual release using the saved inputs)
*/