We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21df379 commit 4e65506Copy full SHA for 4e65506
.github/workflows/trigger-update-dependencies.yml
@@ -15,10 +15,11 @@ jobs:
15
outputs:
16
targets: ${{ steps.targets.outputs.result }}
17
steps:
18
- - uses: actions/github-script@v6
+ - uses: actions/github-script@v7
19
id: targets
20
env:
21
TOKEN: ${{ secrets.TOKEN }}
22
+ ROOT_REPOSITORY_NAMES: ${{ vars.ROOT_REPOSITORY_NAMES }}
23
with:
24
github-token: ${{ secrets.TOKEN }}
25
script: |
@@ -39,7 +40,7 @@ jobs:
39
40
41
async function getTargets() {
42
const targets = [];
- const rootRepos = ["frandroid", "madmoizelle", "numerama"];
43
+ const rootRepos = JSON.parse(process.env.ROOT_REPOSITORY_NAMES);
44
for (const repo of rootRepos) {
45
const packages = await getRepoPackages(repo);
46
if (packages.includes(context.repo.repo)) {
0 commit comments