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
6935b98f
Commit
6935b98f
authored
Jun 28, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix incorrect reference
parent
af6a1777
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
update-project-cards.yml
.github/workflows/update-project-cards.yml
+4
-7
No files found.
.github/workflows/update-project-cards.yml
View file @
6935b98f
...
@@ -60,7 +60,6 @@ jobs:
...
@@ -60,7 +60,6 @@ jobs:
FIELD_NAME
:
${{ github.event.pull_request && 'Status' || github.event.inputs.field_name }}
FIELD_NAME
:
${{ github.event.pull_request && 'Status' || github.event.inputs.field_name }}
FIELD_VALUE
:
${{ github.event.pull_request && 'Released' || github.event.inputs.field_value }}
FIELD_VALUE
:
${{ github.event.pull_request && 'Released' || github.event.inputs.field_value }}
with
:
with
:
debug
:
true
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script
:
|
script
:
|
const response = await github.graphql(`
const response = await github.graphql(`
...
@@ -128,9 +127,9 @@ jobs:
...
@@ -128,9 +127,9 @@ jobs:
}
}
core.info('Found following info:');
core.info('Found following info:');
core.info(
' project_id: ', projectId
);
core.info(
` project_id: ${ projectId }`
);
core.info(
' field_id: ', field.id
);
core.info(
` field_id: ${ field.id }`
);
core.info(
' field_value_id: ', option.id
);
core.info(
` field_value_id: ${ option.id }`
);
core.setOutput('id', projectId);
core.setOutput('id', projectId);
core.setOutput('field_id', field.id);
core.setOutput('field_id', field.id);
...
@@ -143,7 +142,6 @@ jobs:
...
@@ -143,7 +142,6 @@ jobs:
# TODO @tom2drum: remove fallbacks for PR trigger
# TODO @tom2drum: remove fallbacks for PR trigger
ISSUES
:
${{ github.event.pull_request && '[900,903,899,912]' || github.event.inputs.issues }}
ISSUES
:
${{ github.event.pull_request && '[900,903,899,912]' || github.event.inputs.issues }}
with
:
with
:
debug
:
true
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script
:
|
script
:
|
const result = [];
const result = [];
...
@@ -209,7 +207,6 @@ jobs:
...
@@ -209,7 +207,6 @@ jobs:
FIELD_ID
:
${{ steps.project_info.outputs.field_id }}
FIELD_ID
:
${{ steps.project_info.outputs.field_id }}
FIELD_VALUE_ID
:
${{ steps.project_info.outputs.field_value_id }}
FIELD_VALUE_ID
:
${{ steps.project_info.outputs.field_value_id }}
with
:
with
:
debug
:
true
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script
:
|
script
:
|
const items = JSON.parse(process.env.ITEMS);
const items = JSON.parse(process.env.ITEMS);
...
@@ -221,7 +218,7 @@ jobs:
...
@@ -221,7 +218,7 @@ jobs:
}
}
for (const item of items) {
for (const item of items) {
core.info(`Changing field value for item ${ i
ssue
}...`);
core.info(`Changing field value for item ${ i
tem
}...`);
await changeItemFieldValue(item);
await changeItemFieldValue(item);
core.info('Done.\n');
core.info('Done.\n');
}
}
...
...
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