mv
--> Linted: DOCKERFILE_HADOLINT No errors were found in the linting process Details
--> Linted: EDITORCONFIG No errors were found in the linting process Details
--> Linted: GITHUB_ACTIONS No errors were found in the linting process Details
--> Linted: GITLEAKS No errors were found in the linting process Details
--> Linted: JSON No errors were found in the linting process Details
--> Linted: YAML No errors were found in the linting process Details
lint Details
build Details

This commit is contained in:
Chase 2023-04-21 10:25:31 -05:00
parent e0d565275d
commit f1862ed705
Signed by: chase
GPG Key ID: 9EC29E797878008C
11 changed files with 10 additions and 198 deletions

View File

@ -1,12 +0,0 @@
---
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: daily
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
open-pull-requests-limit: 10

13
.github/labeler.yml vendored
View File

@ -1,13 +0,0 @@
---
dependencies:
- package.json
- package-lock.json
meta:
- README.md
- LICENSE.md
- .gitignore
- .gitattributes
- .eslintrc.json
- .github/**/*
- .vscode/**/*

34
.github/labels.yml vendored
View File

@ -1,34 +0,0 @@
---
- name: "bug"
color: "d73a4a"
description: "Something isn't working"
- name: "dependencies"
color: "0052cc"
description: "Pull requests that update a dependency file"
- name: "documentation"
color: "0075ca"
description: "Improvements or additions to documentation"
- name: "duplicate"
color: "cfd8d7"
description: "This issue or pull request already exists"
- name: "enhancement"
color: "a22eef"
description: "New feature or request"
- name: "good first issue"
color: "7057ff"
description: "Good for newcomers"
- name: "help wanted"
color: "008672"
description: "Extra attention is needed"
- name: "invalid"
color: "e6e6fa"
description: "This doesn't seem right"
- name: "meta"
color: "ffffff"
description: "Changes that aren't directly related to any source"
- name: "question"
color: "cc317c"
description: "Further information is needed"
- name: "wontfix"
color: "ffffff"
description: "This will not be worked on"

View File

@ -1,16 +0,0 @@
---
name: "📦️ Auto Merge Dependency Updates"
on:
- pull_request_target
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: tjenkinson/gh-action-auto-merge-dependency-updates@v1
with:
allowed-actors: dependabot[bot]
allowed-update-types: devDependencies:minor, devDependencies:patch, devDependencies:major
merge-method: squash
repo-token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -6,9 +6,7 @@ on:
branches: [master, main]
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
GH_USERNAME: ${{ secrets.GH_USERNAME }}
PAT: ${{ secrets.PAT }}
jobs:
build:
@ -20,19 +18,12 @@ jobs:
with:
fetch-depth: 0
- name: Build the Docker Image
run: docker build . --file Dockerfile --tag "$DOCKER_USERNAME"/lidarr-true-singles:latest --tag ghcr.io/"$GH_USERNAME"/lidarr-true-singles:latest
- name: Login to DockerHub
run: docker build . --file Dockerfile --tag chase/lidarr-true-singles:latest --tag git.chse.dev/chase/lidarr-true-singles:latest
- name: Login to Container Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push the Docker Image
run: docker push "$DOCKER_USERNAME"/lidarr-true-singles:latest
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push the Docker Image to GitHub Container Registry
run: docker push ghcr.io/"$GH_USERNAME"/lidarr-true-singles:latest
registry: git.chse.dev
username: chase
password: ${{ secrets.PAT }}
- name: Push the Docker Image to Container Registry
run: docker push git.chse.dev/chase/lidarr-true-singles:latest

View File

@ -1,13 +0,0 @@
---
name: "🏷️ Pull Request Labeler"
on:
- pull_request_target
jobs:
labeler:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

View File

@ -1,20 +0,0 @@
---
name: "🏷️ Label Sync"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/labels.yml"
jobs:
labelsync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "🏷️ Label Sync"
uses: crazy-max/ghaction-github-labeler@v4
with:
github-token: ${{ secrets.GH_PAT }}

View File

@ -1,22 +0,0 @@
---
name: "🔒 Lock Resolved Issues/PRs"
on:
pull_request:
types:
- closed
issues:
types:
- closed
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: chxseh/action-lock-unlock@v1.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.pull_request.number || github.event.issue.number }}
lock: true
lock-reason: resolved

View File

@ -1,21 +0,0 @@
---
name: "🔓 Unlock Reopened Issues/PRs"
on:
pull_request:
types:
- reopened
issues:
types:
- reopened
jobs:
unlock:
runs-on: ubuntu-latest
steps:
- uses: chxseh/action-lock-unlock@v1.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.pull_request.number || github.event.issue.number }}
lock: false

View File

@ -1,22 +0,0 @@
---
name: "📝 Update Docker Hub README"
on:
push:
branches: [master, main]
paths:
- 'README.md'
jobs:
updatedockerreadme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: meeDamian/sync-readme@v1.0.6
with:
user: ${{ secrets.DOCKER_USERNAME }}
pass: ${{ secrets.DOCKER_PASSWORD }}
slug: ${{ secrets.DOCKER_USERNAME }}/lidarr-true-singles
description: true

View File

@ -1,12 +1,6 @@
<div align="center">
<h1><a href="https://hub.docker.com/r/chxseh/lidarr-true-singles">lidarr-true-singles</a><br>
<h1>lidarr-true-singles<br>
<a href="https://chse.dev/donate"><img alt="Donate" src="https://badges.chse.dev:/badge/Donate_To_This_Project-brightgreen"></a>
<a href="https://github.com/chxseh/lidarr-true-singles/actions/workflows/linter.yml"><img alt="GitHub Actions Status" src="https://github.com/chxseh/lidarr-true-singles/actions/workflows/linter.yml/badge.svg"></a>
<a href="https://github.com/chxseh/lidarr-true-singles/stargazers"><img alt="Stars" src="https://badges.chse.dev:/github/stars/chxseh/lidarr-true-singles"></a>
<a href="https://github.com/chxseh/lidarr-true-singles/issues"><img alt="Issues" src="https://badges.chse.dev:/github/issues/chxseh/lidarr-true-singles"></a>
<a href="https://github.com/chxseh/lidarr-true-singles/pulls"><img alt="Pull Requests" src="https://badges.chse.dev:/github/issues-pr/chxseh/lidarr-true-singles"></a>
<a href="https://github.com/chxseh/lidarr-true-singles/network"><img alt="Forks" src="https://badges.chse.dev:/github/forks/chxseh/lidarr-true-singles"></a>
<a href="https://github.com/chxseh/lidarr-true-singles/blob/main/LICENSE.md"><img alt="License" src="https://badges.chse.dev:/github/license/chxseh/lidarr-true-singles"></a>
</h1></div>
Automatically unmonitor promotional singles from Lidarr.
@ -20,7 +14,7 @@ docker run --rm \
-e UNMONITOR=false \
-e DELETE=false \
-e OUTPUT_UNMONITORED=false \
ghcr.io/chxseh/lidarr-true-singles:latest
git.chse.dev/chase/lidarr-true-singles:latest
```
| Environment Variable | Description | Default |