-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Merge Pull Request on non-default branch , but still not able auto close issue #7
Comments
Hello, mjolnir is based on the PR description, it doesn't work with a commit message that is not the PR description. Also the pattern is defined here: https://github.com/ldez/gha-mjolnir#supported-syntaxes |
Could you provide the logs? |
Unfortunately, I couldn't able to provide any logs. I am not sure what am I doing wrong or misunderstand something.. |
Could you try: name: Close issues related to a merged pull request from dev branches.
on:
pull_request:
types: [closed]
branches:
- dev
jobs:
closeIssueOnPrMergeTrigger:
runs-on: ubuntu-latest
steps:
- name: Closes issues related to a merged pull request.
uses: ldez/gha-mjolnir@v1.0.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Could you also try v1.0.3 instead of v1.0.0? |
Hi, it work ! last question, Thanks for help. |
Below is my yml file for github actions
I am already try create a pull request with commit message "Fix #30 xxx" into
dev
branch ( not default branch ) and approve the merge.. but it still not able to close my #30 issue after merge success.need some help.. thanks.
The text was updated successfully, but these errors were encountered: