Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

chore(ci): add github action to get GitLab Issues #525

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

profclems
Copy link
Owner

@profclems profclems commented Jan 6, 2021

This PR adds a GitHub action that gets all open issues created on GitLab for glab and recreates them on GitHub.

The issue must have gh-new label in order to be recreated on GitHub. The action automatically removes the label after recreating on GitHub, add a comment with the url to the GitHub issue on GitLab Issue.

This is to enable glab users file issues on GitLab with glab issue create -R profclems/glab.

Partially resolves #524

@codecov
Copy link

codecov bot commented Jan 6, 2021

Codecov Report

Merging #525 (575d7d4) into trunk (1c17a7d) will increase coverage by 1.61%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##            trunk     #525      +/-   ##
==========================================
+ Coverage   59.19%   60.81%   +1.61%     
==========================================
  Files          85       86       +1     
  Lines        5737     5951     +214     
==========================================
+ Hits         3396     3619     +223     
+ Misses       2006     1998       -8     
+ Partials      335      334       -1     
Impacted Files Coverage Δ
commands/mr/mrutils/mrutils.go 74.61% <0.00%> (ø)
commands/cmdutils/cmdutils.go 75.30% <0.00%> (+26.14%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c17a7d...575d7d4. Read the comment docs.

@profclems profclems force-pushed the ch-gitlab-issues branch 4 times, most recently from d57d364 to a194cf6 Compare January 8, 2021 11:24
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jan 8, 2021
@profclems profclems force-pushed the ch-gitlab-issues branch 2 times, most recently from 99810ce to 2671f45 Compare January 8, 2021 11:32
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jan 8, 2021
@profclems
Copy link
Owner Author

@maxice8 care to have a look at this?

@maxice8
Copy link
Collaborator

maxice8 commented Jan 8, 2021

Templates look good but can't give an opinion on the CI .yml

@profclems profclems marked this pull request as ready for review January 8, 2021 12:53
@profclems
Copy link
Owner Author

The limitation right now is comments are not imported.

The action runs every 5minutes

@profclems profclems merged commit 455dc38 into trunk Jan 8, 2021
@profclems profclems deleted the ch-gitlab-issues branch January 8, 2021 15:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GLAB]: Allow Issues on GitLab
2 participants