Skip to content

Commit 3a6f8f0

Browse files
Initial commit
0 parents  commit 3a6f8f0

File tree

13 files changed

+248
-0
lines changed

13 files changed

+248
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @remarkablemark
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug
4+
labels: bug
5+
assignees: remarkablemark
6+
---
7+
8+
## Expected Behavior
9+
10+
<!-- What should happen. -->
11+
12+
## Actual Behavior
13+
14+
<!-- What happens instead. -->
15+
16+
## Steps to Reproduce
17+
18+
<!-- Describe a sequence of steps that anybody can repeat to see the issue. -->
19+
20+
## Reproducible Demo
21+
22+
<!-- Creating a bug demo will help speed up the process of resolving the issue. -->
23+
24+
## Environment
25+
26+
- Version:
27+
- Platform:
28+
- OS:
29+
30+
## Keywords
31+
32+
<!-- Include keywords that might help others with the same problem find this issue. -->
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature Request
3+
about: Suggest improvements or new features
4+
labels: feature
5+
assignees: remarkablemark
6+
---
7+
8+
## Problem
9+
10+
<!-- What is missing or inconvenient without this improvement or feature? -->
11+
12+
## Suggested Solution
13+
14+
<!-- How do you suggest fixing the problem? Do any other tools already do it? -->
15+
16+
## Keywords
17+
18+
<!-- Include keywords that might help others with the same problem find this issue. -->

.github/ISSUE_TEMPLATE/question.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Question
3+
about: Ask a question
4+
labels: question
5+
assignees: remarkablemark
6+
---
7+
8+
## Question
9+
10+
<!-- Check the README, issues, and discussions before asking your question. -->
11+
12+
## Keywords
13+
14+
<!-- Include keywords that might help others with the same question find this issue. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!--
2+
Filling out the information below can facilitate the review/merge of the pull request (PR).
3+
-->
4+
5+
## What is the motivation for this pull request?
6+
7+
<!-- Is this a feature, bug fix, documentation, etc.? -->
8+
9+
## What is the current behavior?
10+
11+
<!-- Please link to the issue (if applicable). -->
12+
13+
## What is the new behavior?
14+
15+
<!-- If this is a feature change or bug fix. -->
16+
17+
## Checklist:
18+
19+
<!--
20+
Feel free to remove any item that is irrelevant to your changes.
21+
To check an item, place an "x" in the box like so: `- [x] Tests`
22+
-->
23+
24+
- [ ] [Conventional Commits](https://www.conventionalcommits.org/)
25+
- [ ] Tests
26+
- [ ] Documentation
27+
28+
<!--
29+
Any other comments? Thank you for contributing!
30+
-->

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: 'github-actions'
9+
directory: '/'
10+
schedule:
11+
interval: 'daily'

.github/mergify.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pull_request_rules:
2+
- name: automatic merge for Dependabot pull requests
3+
conditions:
4+
- author=dependabot[bot]
5+
- check-success=build
6+
actions:
7+
merge:
8+
method: merge
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: release-please
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
release-please:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Release Please
17+
uses: google-github-actions/release-please-action@v3
18+
with:
19+
release-type: simple
20+
id: release
21+
22+
- name: Checkout repository
23+
uses: actions/checkout@v3
24+
25+
- name: Tag major and minor versions
26+
if: ${{ steps.release.outputs.release_created }}
27+
run: |
28+
git config user.name 'github-actions[bot]'
29+
git config user.email 'github-actions[bot]@users.noreply.github.com'
30+
git tag -d v${{ steps.release.outputs.major }} || true
31+
git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true
32+
git tag -a v${{ steps.release.outputs.major }} -m 'Release v${{ steps.release.outputs.major }}'
33+
git tag -a v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} -m 'Release v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}'
34+
git push -f origin v${{ steps.release.outputs.major }}
35+
git push -f origin v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: test
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout repository
9+
uses: actions/checkout@v3
10+
11+
- name: Run action
12+
uses: ./
13+
14+
- name: Run action with version
15+
uses: ./
16+
with:
17+
version: 2.3.4

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Menglin "Mark" Xu <mark@remarkablemark.org>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)