{"id":15647526,"url":"https://github.com/ldez/gha-mjolnir","last_synced_at":"2025-04-09T23:16:59.493Z","repository":{"id":40257971,"uuid":"171200992","full_name":"ldez/gha-mjolnir","owner":"ldez","description":":hammer: GitHub Action to close issues related to the merge of a pull request.","archived":false,"fork":false,"pushed_at":"2025-01-06T19:28:08.000Z","size":59,"stargazers_count":43,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T23:16:54.495Z","etag":null,"topics":["close","github-action","issues","pull-requests"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ldez.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ldez","ko_fi":"ldez_oss","liberapay":"ldez","thanks_dev":"u/gh/ldez"}},"created_at":"2019-02-18T02:28:00.000Z","updated_at":"2025-01-06T19:28:12.000Z","dependencies_parsed_at":"2024-06-19T00:03:59.266Z","dependency_job_id":"ef472201-0348-4e42-ad31-2f8225ceb2d2","html_url":"https://github.com/ldez/gha-mjolnir","commit_stats":{"total_commits":48,"total_committers":4,"mean_commits":12.0,"dds":0.375,"last_synced_commit":"56aa55ae4d13e1710cb68e4420573b4304540f68"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldez%2Fgha-mjolnir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldez%2Fgha-mjolnir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldez%2Fgha-mjolnir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldez%2Fgha-mjolnir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldez","download_url":"https://codeload.github.com/ldez/gha-mjolnir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125593,"owners_count":21051771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["close","github-action","issues","pull-requests"],"created_at":"2024-10-03T12:19:45.973Z","updated_at":"2025-04-09T23:16:59.462Z","avatar_url":"https://github.com/ldez.png","language":"Go","funding_links":["https://github.com/sponsors/ldez","https://ko-fi.com/ldez_oss","https://liberapay.com/ldez","https://thanks.dev/u/gh/ldez"],"categories":[],"sub_categories":[],"readme":"# Mjolnir\n\n[![Release](https://img.shields.io/github/release/ldez/gha-mjolnir.svg?style=flat)](https://github.com/ldez/gha-mjolnir/releases)\n[![Build Status](https://github.com/ldez/gha-mjolnir/workflows/Main/badge.svg?branch=master)](https://github.com/ldez/gha-mjolnir/actions)\n[![Docker](https://img.shields.io/badge/Docker-available-blue.svg)](https://hub.docker.com/r/ldez/gha-mjolnir/)\n\n[![Sponsor](https://img.shields.io/badge/Sponsor%20me-%E2%9D%A4%EF%B8%8F-pink)](https://github.com/sponsors/ldez)\n\nClose issues related to the merge of a pull request.\n\nUseful:\n\n- to close multiple issues related to a pull request.\n- to close issues related to a pull request not based on the default branch (ex: `master`, `main`).\n  For example, when a branch is related to version (e.g. `v1.5`, `v2.0`, ...)\n- To add the same milestone defined on the PR to closed issues.\n\n## Supported Syntax\n\n- prefixes (case insensitive): `close`, `closes`, `closed`, `fix`, `fixes`, `fixed`, `resolve`, `resolves`, `resolved`\n- issues references separators (can be mixed): ` ` (space), `,` (period)\n- prefix and issues references can be separated by: ` ` (space), `:` (colon), or both.\n\nExamples:\n\n```\nFixes #1,#2,#3\nclose #1, #2, #3\nfix #1 #2 #3\nresolve #1,#2 #3\nResolves: #1,#2,#3\nclosed : #1, #2, #3\n```\n\n## Usage\n\n```yaml\nname: Close issues related to a merged pull request based on master branch.\n\non:\n  pull_request:\n    types: [closed]\n    branches:\n      - master\n\njobs:\n  closeIssueOnPrMergeTrigger:\n\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Closes issues related to a merged pull request.\n        uses: ldez/gha-mjolnir@v1.4.1\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldez%2Fgha-mjolnir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldez%2Fgha-mjolnir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldez%2Fgha-mjolnir/lists"}