Skip to content

Commit 8eccd96

Browse files
authored
Merge pull request #38 from per1234/sync-sync-labels-workflow
Use explicit filename source in config file artifact upload step of "Sync Labels" workflow
2 parents cabecaa + a299a69 commit 8eccd96

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/sync-labels.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/sync-labels.md
22
name: Sync Labels
33

4-
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
4+
# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
55
on:
66
push:
77
paths:
@@ -75,9 +75,7 @@ jobs:
7575
- name: Pass configuration files to next job via workflow artifact
7676
uses: actions/upload-artifact@v4
7777
with:
78-
path: |
79-
*.yaml
80-
*.yml
78+
path: ${{ matrix.filename }}
8179
if-no-files-found: error
8280
name: ${{ env.CONFIGURATIONS_ARTIFACT_PREFIX }}${{ matrix.filename }}
8381

@@ -91,7 +89,7 @@ jobs:
9189
steps:
9290
- name: Set environment variables
9391
run: |
94-
# See: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable
92+
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
9593
echo "MERGED_CONFIGURATION_PATH=${{ runner.temp }}/labels.yml" >> "$GITHUB_ENV"
9694
9795
- name: Determine whether to dry run

0 commit comments

Comments
 (0)