Skip to content

Commit

Permalink
[#28] Fix issue mapping and repository mapping (#30)
Browse files Browse the repository at this point in the history
* [#23] Use File Sync templates for the repo names

* [#23] Use File Sync templates for the repo names

* [#25] Integrate SubMob repositories into Global

* [#25] Integrate SubMob repositories into Global

* [#25] Integrate SubMob repositories into Global

* [#28] Fix issue mapping and repository mapping

* [#28] Fix issue mapping and repository mapping

* [#28] Fix issue mapping and repository mapping
  • Loading branch information
mustafaozhan authored Nov 25, 2023
1 parent 71913ef commit d560064
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
23 changes: 12 additions & 11 deletions .github/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,36 +55,37 @@ Oztechan/TraceFit:
name: 'TraceFit'
owner: "Oztechan"

Oztechan/BaseMob:
Oztechan/actions:
- source: docs/
template:
repository:
name: 'BaseMob'
owner: "SubMob"
name: 'actions'
owner: "Oztechan"

Oztechan/ScopeMob:
SubMob/BaseMob:
- source: docs/
template:
repository:
name: 'ScopeMob'
name: 'BaseMob'
owner: "SubMob"

Oztechan/LogMob:
SubMob/ScopeMob:
- source: docs/
template:
repository:
name: 'LogMob'
name: 'ScopeMob'
owner: "SubMob"

Oztechan/ParserMob:
SubMob/LogMob:
- source: docs/
template:
repository:
name: 'ParserMob'
name: 'LogMob'
owner: "SubMob"

Oztechan/actions:
SubMob/ParserMob:
- source: docs/
template:
repository:
name: 'actions'
name: 'ParserMob'
owner: "SubMob"
8 changes: 4 additions & 4 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Every commit message should match the following format `[{{ repository.owner }}/
Example:

```
[Oztechan/Global#123] My cool feature
[{{ repository.owner }}/{{ repository.name }}#ISSUE_ID] My cool feature
```

## Pull Request
Expand All @@ -33,17 +33,17 @@ Pull Request title should follow below format:
Example:

```
[Oztechan/Global#123] Whatever the name of ticket is
[{{ repository.owner }}/{{ repository.name }}#ISSUE_ID] Whatever the name of ticket is
```

### Description

Description has to have `Resloves {{ repository.owner }}/{{ repository.name }}#ISSUE_ID` with relevant issue. It will help automatically close relevant issue once the PR is merged.
Description has to have `Resolves {{ repository.owner }}/{{ repository.name }}#ISSUE_ID` with relevant issue. It will help automatically close relevant issue once the PR is merged.

Example:

```
Resolves Oztechan/Global#123
Resolves {{ repository.owner }}/{{ repository.name }}#123
Some description.
```
2 changes: 1 addition & 1 deletion docs/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Resolves {{ repository.owner }}/{{ repository.name }}#ISSUE_ID
<!--
Pull Request Checklist
1. I have read the https://github.com/Oztechan/Global/blob/develop/docs/CONTRIBUTING.md
1. I have read the https://github.com/{{ repository.owner }}/{{ repository.name }}/blob/develop/docs/CONTRIBUTING.md
2. PR title in the format of `[{{ repository.owner }}/{{ repository.name }}#ISSUE_ID] ISSUE_TITLE`
3. I have added a valid description and
4. I replaced `ISSUE_ID` with the ID(number in the link) of issue.
Expand Down

0 comments on commit d560064

Please sign in to comment.