Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
github
oh-my-zsh
Commits
0ca2e48e
Unverified
Commit
0ca2e48e
authored
3 years ago
by
Marc Cornellà
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(project): fix `gh pr view` call to use ohmyzsh repository
parent
fbdc078f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
project.yml
.github/workflows/project.yml
+6
-4
No files found.
.github/workflows/project.yml
View file @
0ca2e48e
...
...
@@ -47,21 +47,23 @@ jobs:
ISSUE_OR_PR_ID
:
${{ github.event.issue.node_id || github.event.pull_request.node_id }}
run
:
|
item_id="$(gh api graphql -f query='
mutation($project: ID!, $
item
: ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $
item
}) {
mutation($project: ID!, $
content
: ID!) {
addProjectNextItem(input: {projectId: $project, contentId: $
content
}) {
projectNextItem {
id
}
}
}
' -f project=$PROJECT_ID -f
item
=$ISSUE_OR_PR_ID --jq '.data.addProjectNextItem.projectNextItem.id')"
' -f project=$PROJECT_ID -f
content
=$ISSUE_OR_PR_ID --jq '.data.addProjectNextItem.projectNextItem.id')"
echo "ITEM_ID=$item_id" >> $GITHUB_ENV
-
name
:
Classify Pull Request
if
:
github.event_name == 'pull_request_target'
run
:
|
gh pr view ${{ github.event.pull_request.number }} --json files --jq '.files.[].path' | awk -F/ '
gh pr view ${{ github.event.pull_request.number }} \
--repo ${{ github.repository }} \
--json files --jq '.files.[].path' | awk -F/ '
/^plugins\// {
plugins[$2] = 1
}
...
...
This diff is collapsed.
Click to expand it.
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