diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/CODEOWNERS | 18 | ||||
| -rw-r--r-- | .github/FUNDING.yml | 1 | ||||
| -rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 13 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/container-release.yml | 15 | ||||
| -rw-r--r-- | .github/workflows/lock.yml | 22 |
6 files changed, 45 insertions, 27 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..7a2c3760 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,18 @@ +# Default and lowest precedence. If none of the below matches, @iv-org/developers would be requested for review. +* @iv-org/developers + +docker-compose.yml @unixfox +docker/ @unixfox +kubernetes/ @unixfox + +README.md @thefrenchghosty +config/config.example.yml @thefrenchghosty @SamantazFox @unixfox + +scripts/ @syeopite +shards.lock @syeopite +shards.yml @syeopite + +locales/ @SamantazFox +src/invidious/helpers/i18n.cr @SamantazFox + +src/invidious/helpers/youtube_api.cr @SamantazFox diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..3f28c2b7 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +custom: https://invidious.io/donate/ diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index c0485266..4c1a6330 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,9 +7,16 @@ assignees: '' --- -<!-- Please use the search function to check if the bug you found has already been reported by someone else --> -<!-- If you want to suggest a new feature please use "Feature request" instead --> -<!-- If you want to suggest an enhancement to an existing feature please use "Enhancement" instead --> +<!-- + BEFORE TRYING TO REPORT A BUG: + + * Read the FAQ! + * Use the search function to check if there is already an issue open for your problem! + + If you want to suggest a new feature please use "Feature request" instead + If you want to suggest an enhancement to an existing feature please use "Enhancement" instead +--> + **Describe the bug** <!-- A clear and concise description of what the bug is. --> diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bb4c491..db0987cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,7 @@ jobs: crystal: - 1.0.0 - 1.1.1 + - 1.2.2 include: - crystal: nightly stable: false @@ -48,7 +49,7 @@ jobs: - uses: actions/checkout@v2 - name: Install Crystal - uses: oprypin/install-crystal@v1.2.4 + uses: crystal-lang/install-crystal@v1.5.3 with: crystal: ${{ matrix.crystal }} diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml index c60d08fe..36fb566e 100644 --- a/.github/workflows/container-release.yml +++ b/.github/workflows/container-release.yml @@ -23,6 +23,19 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + + - name: Install Crystal + uses: oprypin/install-crystal@v1.2.4 + with: + crystal: 1.2.2 + + - name: Run lint + run: | + if ! crystal tool format --check; then + crystal tool format + git diff + exit 1 + fi - name: Set up QEMU uses: docker/setup-qemu-action@v1 @@ -61,4 +74,4 @@ jobs: labels: quay.expires-after=12w push: true tags: quay.io/invidious/invidious:${{ github.sha }}-arm64,quay.io/invidious/invidious:latest-arm64 - build-args: release=1
\ No newline at end of file + build-args: release=1 diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml deleted file mode 100644 index aa9e2b31..00000000 --- a/.github/workflows/lock.yml +++ /dev/null @@ -1,22 +0,0 @@ -# Documentation: https://github.com/marketplace/actions/lock-threads - -name: 'Lock Threads' -on: - workflow_dispatch: - schedule: - - cron: "0 */12 * * *" - -jobs: - lock: - runs-on: ubuntu-latest - steps: - - uses: dessant/lock-threads@v2 - with: - github-token: ${{ github.token }} - issue-lock-inactive-days: '240' - pr-lock-inactive-days: '240' - issue-lock-reason: 'resolved' - pr-lock-reason: 'resolved' - - # issue-lock-comment: 'This issue has been automatically locked since there has not been any activity in it in the last 30 days. If this is still applicable to the current version of Invidious feel free to open a new issue.' - # pr-lock-comment: 'This pull request has been automatically locked since there has not been any activity in it in the last 30 days. If you want to tell us about needed or wanted changes or if problems related to this code are discovered, feel free to open an issue or a new pull request.' |
