Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Jan 1, 2020
2 parents 6b38e6e + 432bda4 commit bec720d
Show file tree
Hide file tree
Showing 118 changed files with 5,914 additions and 1,322 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: JonasWanke
12 changes: 2 additions & 10 deletions .github/ISSUE_TEMPLATE/1-bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Please select the component label (C: abc) this bug is related to from the right
**Describe the bug**
<!-- A clear and concise description of what the bug is -->



**To Reproduce**
<!-- Steps to reproduce the behavior -->
1. Go to '...'
Expand All @@ -23,10 +25,6 @@ Please select the component label (C: abc) this bug is related to from the right
4. See error


**Expected behavior**
<!-- A clear and concise description of what you expected to happen -->


<!-- If applicable, add screenshots to help explain your problem
**Screenshots**
Expand All @@ -39,9 +37,3 @@ Please select the component label (C: abc) this bug is related to from the right
<!-- Please complete the following information -->
- OS: <!-- e.g. Windows 10 Home 1809 -->
- Unicorn version: <!-- e.g. 1.0.0 -->


<!-- Add any other context about the problem here
**Additional context**
-->

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/2-feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,3 @@ Please select the component label (C: abc) this feature is related to from the r
**Description**
<!-- A clear and concise description of the problem or missing capability and possibly its solution -->


<!-- Add any other context about the problem here
**Additional context**
-->

7 changes: 0 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
**Checklist**
<!-- Please check if your PR fulfills the following requirements: -->

- [ ] Commit messages follow conventionalcommits.org
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)

Expand All @@ -28,9 +27,3 @@
| :------------: | :------------: |
| <screenshot 1> | <screenshot 2> |
-->


<!-- Optional
**Other information**
-->

20 changes: 20 additions & 0 deletions .github/workflows/unicorn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Unicorn

on:
pull_request:
types:
- opened
- edited
- closed
- reopened
- synchronize

jobs:
unicorn:
name: Unicorn
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: JonasWanke/unicorn@v0.1
with:
repo-token: "${{ secrets.UNICORN_TOKEN }}"
10 changes: 10 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinScripting.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 82 additions & 4 deletions .unicorn.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,84 @@
---
unicornVersion: "0.0.2"
type: "OTHER"
unicornVersion: "0.1.0"
name: "Unicorn"
description: "\U0001f984 A tool to create, work on, test and deploy projects."
version: "0.0.2"
license: null
version: "0.1.0"
categorization:
component:
values:
- name: "action"
description: "GitHub Action related code"
paths:
- "src/main/kotlin/com/jonaswanke/unicorn/action/**"
- name: "api"
description: "DSL/Action/Template-API related code"
paths:
- "src/main/kotlin/com/jonaswanke/unicorn/api/**"
- name: "commands"
description: "Builtin commands"
paths:
- "src/main/kotlin/com/jonaswanke/unicorn/commands/**"
- name: "console"
description: "Console environment related code"
paths:
- "src/main/kotlin/com/jonaswanke/unicorn/console/**"
- name: "core"
description: "Core code"
paths:
- "src/main/kotlin/com/jonaswanke/unicorn/core/**"
- name: "template"
description: "Template-related code"
paths:
- "src/main/kotlin/com/jonaswanke/unicorn/template/**"
- name: "templates"
description: "Default templates"
paths:
- "templates/**"
- name: "utils"
description: "Utility code"
paths:
- "src/main/kotlin/com/jonaswanke/unicorn/utils/**"
labels:
color: "c2e0c6"
prefix: "C: "
descriptionPrefix: "Component: "
priority:
values:
- name: "0"
description: null
- name: "1"
description: "1 (Lowest)"
- name: "2"
description: "2 (Low)"
- name: "3"
description: "3 (Medium)"
- name: "4"
description: "4 (High)"
- name: "5"
description: "5 (Highest)"
label:
color: "e5b5ff"
prefix: "P: "
descriptionPrefix: "Priority: "
type:
values:
- name: "build"
description: "Build changes"
- name: "chore"
description: "Chores"
- name: "ci"
description: "CI changes"
- name: "docs"
description: "Documentation updates"
- name: "feat"
description: "New Features"
- name: "fix"
description: "Bugfixes"
- name: "perf"
description: "Performance improvements"
- name: "refactor"
description: "Refactoring"
labels:
color: "c5def5"
prefix: "T: "
descriptionPrefix: "Type: "
45 changes: 43 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,51 @@ Optional intro comment.
## [Unreleased] - see [milestones] for our roadmap


<a name="0.1.0"></a>
## [0.1.0](https://github.com/JonasWanke/Unicorn/compare/v0.0.2...v0.1.0) - 2020-01-01

This release extends Unicorn's functionality to support custom scripting, templating and running as a GitHub Action.

### Features

- **commands:** add component, priority and type commands ([#66](https://github.com/JonasWanke/Unicorn/pull/66))
- **commands:** push files on issue complete ([#71](https://github.com/JonasWanke/Unicorn/pull/71)), fixes [#39](https://github.com/JonasWanke/Unicorn/issues/39)
- **commands:** support assigning multiple users to an issue ([#71](https://github.com/JonasWanke/Unicorn/pull/71)), fixes [#46](https://github.com/JonasWanke/Unicorn/issues/46)
- **script, action:** support scripting, GitHub action ([#50](https://github.com/JonasWanke/Unicorn/pull/50)), fixes [#33](https://github.com/JonasWanke/Unicorn/issues/33), [#43](https://github.com/JonasWanke/Unicorn/issues/43), [#45](https://github.com/JonasWanke/Unicorn/issues/45)
- **template, commands:** support custom file templates ([#56](https://github.com/JonasWanke/Unicorn/pull/56)), fixes [#49](https://github.com/JonasWanke/Unicorn/issues/49), [#55](https://github.com/JonasWanke/Unicorn/issues/55)
- **template, templates:** move to pure scripting; add dart templates ([#62](https://github.com/JonasWanke/Unicorn/pull/62)), fixes [#59](https://github.com/JonasWanke/Unicorn/issues/59)
- **templates:** improve dart templates ([#65](https://github.com/JonasWanke/Unicorn/pull/65)), fixes [#63](https://github.com/JonasWanke/Unicorn/issues/63)
- **templates:** add kotlin template ([#64](https://github.com/JonasWanke/Unicorn/pull/64)), fixes [#60](https://github.com/JonasWanke/Unicorn/issues/60)

### Bug Fixes

- **commands:** create correct labels using templates ([#73](https://github.com/JonasWanke/Unicorn/pull/73)), fixes [#58](https://github.com/JonasWanke/Unicorn/issues/58)

### Docs

- simplify GitHub templates ([#54](https://github.com/JonasWanke/Unicorn/pull/54)), fixes [#52](https://github.com/JonasWanke/Unicorn/issues/52)

### Refactor

- **core:** clearer structure for categorizations ([#70](https://github.com/JonasWanke/Unicorn/pull/70))

### Build

- update libraries ([#53](https://github.com/JonasWanke/Unicorn/pull/53)), fixes [#51](https://github.com/JonasWanke/Unicorn/issues/51)

### CI

- use GitHub Actions ([#74](https://github.com/JonasWanke/Unicorn/pull/74)), fixes [#68](https://github.com/JonasWanke/Unicorn/issues/68)

### Chore

- change action name ([#75](https://github.com/JonasWanke/Unicorn/pull/75))



<a name="0.0.2"></a>
## [0.0.2](https://github.com/JonasWanke/Unicorn/compare/v0.0.1...v0.0.2) - 2019-04-09


### Features

- use unicorn ([#37](https://github.com/JonasWanke/Unicorn/pull/37)), fixes [#34](https://github.com/JonasWanke/Unicorn/issues/34)
Expand Down Expand Up @@ -56,4 +97,4 @@ Initial release supporting repository initialization.


[milestones]: https://github.com/JonasWanke/Unicorn/milestones
[Unreleased]: https://github.com/JonasWanke/Unicorn/compare/v0.0.2...dev
[Unreleased]: https://github.com/JonasWanke/Unicorn/compare/v0.1.0...dev
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM gradle:5.6-jdk8 as builder
COPY --chown=gradle:gradle . /home/src
RUN ls
WORKDIR /home/src
RUN gradle actionShadowJar


FROM openjdk:8-jre-slim

WORKDIR /
COPY --from=builder /home/src/build/libs/unicorn-action.jar /
ENTRYPOINT ["java", "-jar", "/unicorn-action.jar"]
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ A tool to create, work on, test and deploy projects.

Copyright 2019 Unicorn

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
13 changes: 13 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Unicorn Action'
author: 'Jonas Wanke <contact@wanke.dev>'
description: 'Check your PRs with 🦄 Unicorn'
inputs:
repo-token:
description: 'The GITHUB_TOKEN secret'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: check
color: purple
Loading

0 comments on commit bec720d

Please sign in to comment.