@firestartr/cli 2.9.0-snapshot-org-variables-section-2 → 2.9.0-snapshot-org-variables-section-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +20 -1
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -319300,6 +319300,25 @@ function extractAllRefs(claimData) {
319300
319300
  refs.push(...secretsRefs);
319301
319301
  break;
319302
319302
  }
319303
+ case 'OrgSettingsClaim': {
319304
+ const actionsVariables = parsedClaim.providers?.github?.actions_variables;
319305
+ if (Array.isArray(actionsVariables)) {
319306
+ for (const variable of actionsVariables) {
319307
+ if (variable.visibility !== 'selected')
319308
+ continue;
319309
+ const selectedRepos = variable.selected_repositories;
319310
+ if (!Array.isArray(selectedRepos))
319311
+ continue;
319312
+ for (const repoRef of selectedRepos) {
319313
+ const match = repoRef.match(/^component:(.+)$/);
319314
+ if (match) {
319315
+ refs.push(`ComponentClaim-${match[1]}`);
319316
+ }
319317
+ }
319318
+ }
319319
+ }
319320
+ break;
319321
+ }
319303
319322
  }
319304
319323
  logger.info(`Refs for ${parsedClaim.kind}-${parsedClaim.name}: ${[...new Set(refs)].join(',')}`);
319305
319324
  return [...new Set(refs)];
@@ -522591,7 +522610,7 @@ const crsStatusSubcommand = {
522591
522610
  };
522592
522611
 
522593
522612
  ;// CONCATENATED MODULE: ./package.json
522594
- const package_namespaceObject = JSON.parse('{"i8":"2.9.0-snapshot-org-variables-section-2"}');
522613
+ const package_namespaceObject = JSON.parse('{"i8":"2.9.0-snapshot-org-variables-section-3"}');
522595
522614
  ;// CONCATENATED MODULE: ../../package.json
522596
522615
  const package_namespaceObject_1 = {"i8":"2.8.0"};
522597
522616
  ;// CONCATENATED MODULE: ./src/subcommands/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "2.9.0-snapshot-org-variables-section-2",
3
+ "version": "2.9.0-snapshot-org-variables-section-3",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",