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
af6a1777
Commit
af6a1777
authored
Jun 28, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use separate github token
parent
728d427a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
release.yml
.github/workflows/release.yml
+3
-2
update-project-cards.yml
.github/workflows/update-project-cards.yml
+4
-1
No files found.
.github/workflows/release.yml
View file @
af6a1777
...
...
@@ -2,7 +2,7 @@ name: Release
on
:
# TODO @tom2drum: remove PR trigger
pull_request
:
#
pull_request:
release
:
types
:
[
released
,
prereleased
]
...
...
@@ -15,7 +15,8 @@ jobs:
name
:
Label released issues
uses
:
'
./.github/workflows/label-released-issues.yml'
secrets
:
inherit
if
:
${{ github.event.action == 'released' }}
# TODO @tom2drum: uncomment condition
# if: ${{ github.event.action == 'released' }}
update_project_cards
:
name
:
Update project tasks statuses
needs
:
label_released_issues
...
...
.github/workflows/update-project-cards.yml
View file @
af6a1777
name
:
Update project cards for issues
on
:
#
pull_request:
pull_request
:
workflow_dispatch
:
inputs
:
project_name
:
...
...
@@ -61,6 +61,7 @@ jobs:
FIELD_VALUE
:
${{ github.event.pull_request && 'Released' || github.event.inputs.field_value }}
with
:
debug
:
true
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script
:
|
const response = await github.graphql(`
query ($login: String!, $q: String!) {
...
...
@@ -143,6 +144,7 @@ jobs:
ISSUES
:
${{ github.event.pull_request && '[900,903,899,912]' || github.event.inputs.issues }}
with
:
debug
:
true
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script
:
|
const result = [];
const issues = JSON.parse(process.env.ISSUES);
...
...
@@ -208,6 +210,7 @@ jobs:
FIELD_VALUE_ID
:
${{ steps.project_info.outputs.field_value_id }}
with
:
debug
:
true
github-token
:
${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script
:
|
const items = JSON.parse(process.env.ITEMS);
...
...
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