Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
aaab1a07
Commit
aaab1a07
authored
Jun 27, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix condition for creating label workflow
parent
5daf0fd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
label-released-issues.yml
.github/workflows/label-released-issues.yml
+4
-4
No files found.
.github/workflows/label-released-issues.yml
View file @
aaab1a07
...
@@ -84,7 +84,7 @@ jobs:
...
@@ -84,7 +84,7 @@ jobs:
} catch (error) {
} catch (error) {
if (error.status === 404) {
if (error.status === 404) {
core.info('Nothing has found.');
core.info('Nothing has found.');
core.setOutput('id',
null
);
core.setOutput('id',
'null'
);
}
}
}
}
...
@@ -96,8 +96,8 @@ jobs:
...
@@ -96,8 +96,8 @@ jobs:
LABEL_ID
:
${{ steps.label.outputs.id }}
LABEL_ID
:
${{ steps.label.outputs.id }}
with
:
with
:
script
:
|
script
:
|
if (
!process.env.LABEL_ID
) {
if (
process.env.LABEL_ID === 'null'
) {
core.info(`Label does
n
not exist. No need to fetch issues.`);
core.info(`Label does not exist. No need to fetch issues.`);
return false;
return false;
}
}
...
@@ -237,7 +237,7 @@ jobs:
...
@@ -237,7 +237,7 @@ jobs:
-
name
:
Creating label with latest release tag
-
name
:
Creating label with latest release tag
id
:
label_creating
id
:
label_creating
uses
:
actions/github-script@v6
uses
:
actions/github-script@v6
if
:
${{ steps.has_labeled_issues.outputs.result == 'false' }}
if
:
${{ steps.
label.outputs.id == 'null' && steps.
has_labeled_issues.outputs.result == 'false' }}
env
:
env
:
LABEL_NAME
:
${{ steps.tags.outputs.latest }}
LABEL_NAME
:
${{ steps.tags.outputs.latest }}
LABEL_COLOR
:
${{ github.event.inputs.label_color }}
LABEL_COLOR
:
${{ github.event.inputs.label_color }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment