From f1862ed70567228476c48859ba716071530d7e82 Mon Sep 17 00:00:00 2001 From: chase Date: Fri, 21 Apr 2023 10:25:31 -0500 Subject: [PATCH] mv --- .github/dependabot.yml | 12 ------- .github/labeler.yml | 13 ------- .github/labels.yml | 34 ------------------- .github/workflows/auto-merge.yml | 16 --------- .github/workflows/build.yml | 25 +++++--------- .github/workflows/labeler.yml | 13 ------- .github/workflows/labelsync.yml | 20 ----------- .github/workflows/lock.yml | 22 ------------ .github/workflows/unlock.yml | 21 ------------ .github/workflows/update-dockerhub-readme.yml | 22 ------------ README.md | 10 ++---- 11 files changed, 10 insertions(+), 198 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/labeler.yml delete mode 100644 .github/labels.yml delete mode 100644 .github/workflows/auto-merge.yml delete mode 100644 .github/workflows/labeler.yml delete mode 100644 .github/workflows/labelsync.yml delete mode 100644 .github/workflows/lock.yml delete mode 100644 .github/workflows/unlock.yml delete mode 100644 .github/workflows/update-dockerhub-readme.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 7a41554..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -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 diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index 4cabf4a..0000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -dependencies: - - package.json - - package-lock.json - -meta: - - README.md - - LICENSE.md - - .gitignore - - .gitattributes - - .eslintrc.json - - .github/**/* - - .vscode/**/* diff --git a/.github/labels.yml b/.github/labels.yml deleted file mode 100644 index b4b1154..0000000 --- a/.github/labels.yml +++ /dev/null @@ -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" diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml deleted file mode 100644 index 70b73e7..0000000 --- a/.github/workflows/auto-merge.yml +++ /dev/null @@ -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 }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 289f223..12be7b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index c025981..0000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/labelsync.yml b/.github/workflows/labelsync.yml deleted file mode 100644 index eb68049..0000000 --- a/.github/workflows/labelsync.yml +++ /dev/null @@ -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 }} diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml deleted file mode 100644 index 76b3afa..0000000 --- a/.github/workflows/lock.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/unlock.yml b/.github/workflows/unlock.yml deleted file mode 100644 index 2623518..0000000 --- a/.github/workflows/unlock.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/update-dockerhub-readme.yml b/.github/workflows/update-dockerhub-readme.yml deleted file mode 100644 index c332cfe..0000000 --- a/.github/workflows/update-dockerhub-readme.yml +++ /dev/null @@ -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 diff --git a/README.md b/README.md index 5d80ca4..1ed7316 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,6 @@
-

lidarr-true-singles
+

lidarr-true-singles
Donate -GitHub Actions Status -Stars -Issues -Pull Requests -Forks -License

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 |