summaryrefslogtreecommitdiff
path: root/Impostor-dev/.github
diff options
context:
space:
mode:
Diffstat (limited to 'Impostor-dev/.github')
-rw-r--r--Impostor-dev/.github/ISSUE_TEMPLATE/1--bug-reporting.md35
-rw-r--r--Impostor-dev/.github/ISSUE_TEMPLATE/2--feature-request.md19
-rw-r--r--Impostor-dev/.github/ISSUE_TEMPLATE/3--api-suggestion.md20
-rw-r--r--Impostor-dev/.github/ISSUE_TEMPLATE/4--api-invalid-data.md25
-rw-r--r--Impostor-dev/.github/ISSUE_TEMPLATE/5--api-unavailable-data.md20
-rw-r--r--Impostor-dev/.github/ISSUE_TEMPLATE/6--api-other.md10
-rw-r--r--Impostor-dev/.github/ISSUE_TEMPLATE/config.yml1
-rw-r--r--Impostor-dev/.github/PULL_REQUEST_TEMPLATE.md16
-rw-r--r--Impostor-dev/.github/stale.yml17
-rw-r--r--Impostor-dev/.github/workflows/docker.yml70
10 files changed, 233 insertions, 0 deletions
diff --git a/Impostor-dev/.github/ISSUE_TEMPLATE/1--bug-reporting.md b/Impostor-dev/.github/ISSUE_TEMPLATE/1--bug-reporting.md
new file mode 100644
index 0000000..cd4dab5
--- /dev/null
+++ b/Impostor-dev/.github/ISSUE_TEMPLATE/1--bug-reporting.md
@@ -0,0 +1,35 @@
+---
+name: 1. Bug reporting
+about: Bugs within Impostor
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+# Bug Report
+
+## Base Information
+- Operating System
+- Impostor Version
+- Among Us Version
+
+## I confirm:
+- [ ] that I have searched for an existing bug report for this issue.
+
+
+## Symptoms
+
+<!--
+Write symptoms here.
+-->
+
+Enter Symptoms on this line.
+
+## Reproduction
+
+<!--
+ How do you reproduce the bug you have here.
+-->
+
+Enter reproductions steps here.
diff --git a/Impostor-dev/.github/ISSUE_TEMPLATE/2--feature-request.md b/Impostor-dev/.github/ISSUE_TEMPLATE/2--feature-request.md
new file mode 100644
index 0000000..8aa42e6
--- /dev/null
+++ b/Impostor-dev/.github/ISSUE_TEMPLATE/2--feature-request.md
@@ -0,0 +1,19 @@
+---
+name: 2. Feature request
+about: To ask and request new features with Impostor
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+# Feature Request
+
+## Feature Information:
+<!--
+ - One issue per post! Do not try and bring up multiple requests in a single post.
+ - What should it do?
+-->
+
+## I confirm:
+- [ ] that I have searched for an existing feature request matching the description.
diff --git a/Impostor-dev/.github/ISSUE_TEMPLATE/3--api-suggestion.md b/Impostor-dev/.github/ISSUE_TEMPLATE/3--api-suggestion.md
new file mode 100644
index 0000000..bfed62f
--- /dev/null
+++ b/Impostor-dev/.github/ISSUE_TEMPLATE/3--api-suggestion.md
@@ -0,0 +1,20 @@
+---
+name: 3. Api suggestion
+about: To make suggestions for the plugin api
+title: ''
+labels: api
+assignees: ''
+
+---
+
+# Api Suggestion
+
+## Suggestion
+<!--
+Describe your suggestion as detailed as possible.
+-->
+
+## Use case
+<!--
+Describe what you need it for.
+-->
diff --git a/Impostor-dev/.github/ISSUE_TEMPLATE/4--api-invalid-data.md b/Impostor-dev/.github/ISSUE_TEMPLATE/4--api-invalid-data.md
new file mode 100644
index 0000000..6ebe139
--- /dev/null
+++ b/Impostor-dev/.github/ISSUE_TEMPLATE/4--api-invalid-data.md
@@ -0,0 +1,25 @@
+---
+name: 4. Api invalid data
+about: To let us know about invalid data in the api
+title: ''
+labels: api
+assignees: ''
+
+---
+
+# Api missing data
+
+## Data
+<!--
+Describe about the missing data that you need.
+-->
+
+## Expectations
+<!--
+Describe what the api gave you and what you expected.
+-->
+
+## Reproduce
+<!--
+Describe how to reproduce the issue.
+-->
diff --git a/Impostor-dev/.github/ISSUE_TEMPLATE/5--api-unavailable-data.md b/Impostor-dev/.github/ISSUE_TEMPLATE/5--api-unavailable-data.md
new file mode 100644
index 0000000..698c9ab
--- /dev/null
+++ b/Impostor-dev/.github/ISSUE_TEMPLATE/5--api-unavailable-data.md
@@ -0,0 +1,20 @@
+---
+name: 5. Api unavailable data
+about: To let us know about unavailable data from the api that you would like to use
+title: ''
+labels: api
+assignees: ''
+
+---
+
+# Api missing data
+
+## Data
+<!--
+Describe about the unavailable data that you need.
+-->
+
+## Use-case
+<!--
+Describe what you need it for.
+-->
diff --git a/Impostor-dev/.github/ISSUE_TEMPLATE/6--api-other.md b/Impostor-dev/.github/ISSUE_TEMPLATE/6--api-other.md
new file mode 100644
index 0000000..9077852
--- /dev/null
+++ b/Impostor-dev/.github/ISSUE_TEMPLATE/6--api-other.md
@@ -0,0 +1,10 @@
+---
+name: 6. Api other
+about: For anything about the api that does not fit in the other issues
+title: ''
+labels: api
+assignees: ''
+
+---
+
+
diff --git a/Impostor-dev/.github/ISSUE_TEMPLATE/config.yml b/Impostor-dev/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..0086358
--- /dev/null
+++ b/Impostor-dev/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1 @@
+blank_issues_enabled: true
diff --git a/Impostor-dev/.github/PULL_REQUEST_TEMPLATE.md b/Impostor-dev/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 0000000..a877a10
--- /dev/null
+++ b/Impostor-dev/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,16 @@
+### Description
+
+
+<!--
+
+If your pull request closes any issues, add them below with the `closes` keyword before them
+
+Example: closes #101
+
+See the following article for more information: https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
+
+-->
+
+### Closes issues
+
+- closes #
diff --git a/Impostor-dev/.github/stale.yml b/Impostor-dev/.github/stale.yml
new file mode 100644
index 0000000..e556fa9
--- /dev/null
+++ b/Impostor-dev/.github/stale.yml
@@ -0,0 +1,17 @@
+# Number of days of inactivity before an issue becomes stale
+daysUntilStale: 60
+# Number of days of inactivity before a stale issue is closed
+daysUntilClose: 7
+# Issues with these labels will never be considered stale
+exemptLabels:
+ - pinned
+ - security
+# Label to use when marking an issue as stale
+staleLabel: stale
+# Comment to post when marking an issue as stale. Set to `false` to disable
+markComment: >
+ This issue has been automatically marked as stale because it has not had
+ recent activity. It will be closed if no further activity occurs. Thank you
+ for your contributions.
+# Comment to post when closing a stale issue. Set to `false` to disable
+closeComment: false
diff --git a/Impostor-dev/.github/workflows/docker.yml b/Impostor-dev/.github/workflows/docker.yml
new file mode 100644
index 0000000..b312075
--- /dev/null
+++ b/Impostor-dev/.github/workflows/docker.yml
@@ -0,0 +1,70 @@
+name: Docker
+
+on:
+ push:
+ branches: dev
+ paths:
+ - 'src/Impostor.Server/**'
+ - 'src/Impostor.Shared/**'
+ - '.gitmodules'
+ - '.github/workflows/docker.yml'
+ - 'Dockerfile'
+ tags:
+ - 'v*.*.*'
+ pull_request:
+ paths:
+ - 'src/Impostor.Server/**'
+ - 'src/Impostor.Shared/**'
+ - '.gitmodules'
+ - '.github/workflows/docker.yml'
+ - 'Dockerfile'
+
+jobs:
+ push_to_registry:
+ name: Push Docker image
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ submodules: true
+ - name: Prepare
+ id: prep
+ run: |
+ DOCKER_IMAGE=aeonlucid/impostor
+ VERSION=noop
+ if [[ $GITHUB_REF == refs/tags/* ]]; then
+ VERSION=${GITHUB_REF#refs/tags/}
+ elif [[ $GITHUB_REF == refs/heads/* ]]; then
+ VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
+ if [ "${{ github.event.repository.default_branch }}" = "dev" ]; then
+ VERSION=nightly
+ fi
+ elif [[ $GITHUB_REF == refs/pull/* ]]; then
+ VERSION=pr-${{ github.event.number }}
+ fi
+ TAGS="${DOCKER_IMAGE}:${VERSION}"
+ if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
+ TAGS="$TAGS,${DOCKER_IMAGE}:latest"
+ fi
+ echo ::set-output name=version::${VERSION}
+ echo ::set-output name=tags::${TAGS}
+ echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v1
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
+ - name: Login to DockerHub
+ if: github.event_name != 'pull_request'
+ uses: docker/login-action@v1
+ with:
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ - name: Build and push
+ uses: docker/build-push-action@v2
+ with:
+ context: .
+ file: ./Dockerfile
+ platforms: linux/amd64,linux/arm/v7,linux/arm64
+ push: ${{ github.event_name != 'pull_request' }}
+ tags: ${{ steps.prep.outputs.tags }}