-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add command for transferring issue #314
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left some comments,
you also need to add this new workflow to https://github.com/asyncapi/.github/blob/master/.github/workflows/global-replicator.yml#L141 to have it replicated to all other repos
.github/workflows/transfer-issue.yml
Outdated
|
||
jobs: | ||
transfer: | ||
if: ${{(!github.event.issue.pull_request && github.event.issue.state != 'closed' && github.actor != 'asyncapi-bot') && (contains(github.event.comment.body, '/trasfer-issue') || contains(github.event.comment.body, '/ti'))}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably start using starts with instead of contains
@KhudaDad414 thoughts?
…ithub into trasferIssue-command
@Souvikns ping in case you forgot about this one |
I have tested the action here: https://github.com/Klifu/API/actions/runs/12532481994. |
@derberg I made the changes, now fetching repo from github context and added missing env for |
code wise lgtm, did you test it in some repo? just to be 100% sure? as once I merge this one, it will be pushed to all repos. maybe you can add it first to CLI manually, with the same file name (so it will be later overwritten by this PR)) |
I'm only referring to also please add the same header comment as other workflows here have |
@Souvikns you need help? |
Description
In this PR I am adding a new workflow file to trasfer issue from one respository to another in AsyncAPI organisation. The command is
/trasfer-issue {repo-name}
or/ti {repo-name}
for exampleRelated issue(s)
Resolves #311