File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,15 @@ jobs:
121121 .map(label => label.name)
122122 .filter(name => name.startsWith('tag:'))
123123 .map(name => name.split(':')[1]);
124- const tag = labels.length > 0 ? labels[0] : 'alpha';
125- core.setOutput('tag', tag);
126-
124+ if (labels.length > 0) {
125+ core.setOutput('tag', labels[0]);
126+ } else {
127+ core.setOutput('skip', 'true');
128+ }
127129 - name : Trigger dependencies bot in lit-configuration-guides
130+ if : steps.pr-labels.outputs.skip != 'true'
128131 run : |
129132 TAG="${{ steps.pr-labels.outputs.tag }}"
130- if [ -z "$TAG" ]; then
131- TAG="alpha" # Default to alpha if no tag found
132- fi
133133 curl -X POST \
134134 -H "Accept: application/vnd.github.everest-preview+json" \
135135 -H "Authorization: token ${{ secrets.GH_PAT_LIT_CONFIGURATION_GUIDES_REPO }}" \
You can’t perform that action at this time.
0 commit comments