[READ-ONLY] Mirror of https://github.com/FoxxMD/multi-scrobbler. Scrobble plays from multiple sources to multiple clients docs.multi-scrobbler.app
deezer docker jellyfin koito lastfm listenbrainz maloja mopidy mpris music music-assistant plex scrobble self-hosted spotify subsonic tautulli youtube-music
0

Configure Feed

Select the types of activity you want to include in your feed.

ci: Fix sanity test checkout ref and shorten APP_VERSION sha usage

FoxxMD (Oct 14, 2024, 1:07 PM EDT) 1e6251ed 9c21db81

+178 -1
+164
.github/act/actPREvent.json
··· 1 + { 2 + "action": "synchronize", 3 + "number": 210, 4 + "pull_request": { 5 + "url": "https://api.github.com/repos/FoxxMD/multi-scrobbler/pulls/210", 6 + "id": 2123337348, 7 + "node_id": "PR_kwDOEpP-x85-j46E", 8 + "number": 210, 9 + "state": "open", 10 + "locked": false, 11 + "merge_commit_sha": "349bea1f4580b9e61aa22446eae73f8b1225bbb7", 12 + "labels": [ 13 + { 14 + "id": 2494982061, 15 + "node_id": "MDU6TGFiZWwyNDk0OTgyMDYx", 16 + "url": "https://api.github.com/repos/FoxxMD/multi-scrobbler/labels/bug", 17 + "name": "bug", 18 + "color": "d73a4a", 19 + "default": true, 20 + "description": "Something isn't working" 21 + }, 22 + { 23 + "id": 7131135993, 24 + "node_id": "LA_kwDOEpP-x88AAAABqQx_-Q", 25 + "url": "https://api.github.com/repos/FoxxMD/multi-scrobbler/labels/safe%20to%20test", 26 + "name": "safe to test", 27 + "color": "D4C5F9", 28 + "default": false, 29 + "description": "trusted to build image" 30 + } 31 + ], 32 + "milestone": null, 33 + "draft": false, 34 + "head": { 35 + "label": "FoxxMD:GH-209/jellyfinCleanup", 36 + "ref": "GH-209/jellyfinCleanup", 37 + "sha": "e251da9b8eecfcb3aba8756393e5075d0092794b", 38 + "user": { 39 + "login": "FoxxMD", 40 + "id": 4663766, 41 + "node_id": "MDQ6VXNlcjQ2NjM3NjY=", 42 + "avatar_url": "https://avatars.githubusercontent.com/u/4663766?v=4", 43 + "gravatar_id": "", 44 + "url": "https://api.github.com/users/FoxxMD", 45 + "html_url": "https://github.com/FoxxMD", 46 + "followers_url": "https://api.github.com/users/FoxxMD/followers", 47 + "following_url": "https://api.github.com/users/FoxxMD/following{/other_user}", 48 + "gists_url": "https://api.github.com/users/FoxxMD/gists{/gist_id}", 49 + "starred_url": "https://api.github.com/users/FoxxMD/starred{/owner}{/repo}", 50 + "subscriptions_url": "https://api.github.com/users/FoxxMD/subscriptions", 51 + "organizations_url": "https://api.github.com/users/FoxxMD/orgs", 52 + "repos_url": "https://api.github.com/users/FoxxMD/repos", 53 + "events_url": "https://api.github.com/users/FoxxMD/events{/privacy}", 54 + "received_events_url": "https://api.github.com/users/FoxxMD/received_events", 55 + "type": "User", 56 + "site_admin": false 57 + }, 58 + "repo": { 59 + "id": 311688903, 60 + "node_id": "MDEwOlJlcG9zaXRvcnkzMTE2ODg5MDM=", 61 + "name": "multi-scrobbler", 62 + "full_name": "FoxxMD/multi-scrobbler", 63 + "private": false, 64 + "owner": { 65 + "login": "FoxxMD", 66 + "id": 4663766, 67 + "node_id": "MDQ6VXNlcjQ2NjM3NjY=", 68 + "avatar_url": "https://avatars.githubusercontent.com/u/4663766?v=4", 69 + "gravatar_id": "", 70 + "url": "https://api.github.com/users/FoxxMD", 71 + "html_url": "https://github.com/FoxxMD", 72 + "followers_url": "https://api.github.com/users/FoxxMD/followers", 73 + "following_url": "https://api.github.com/users/FoxxMD/following{/other_user}", 74 + "gists_url": "https://api.github.com/users/FoxxMD/gists{/gist_id}", 75 + "starred_url": "https://api.github.com/users/FoxxMD/starred{/owner}{/repo}", 76 + "subscriptions_url": "https://api.github.com/users/FoxxMD/subscriptions", 77 + "organizations_url": "https://api.github.com/users/FoxxMD/orgs", 78 + "repos_url": "https://api.github.com/users/FoxxMD/repos", 79 + "events_url": "https://api.github.com/users/FoxxMD/events{/privacy}", 80 + "received_events_url": "https://api.github.com/users/FoxxMD/received_events", 81 + "type": "User", 82 + "site_admin": false 83 + }, 84 + "html_url": "https://github.com/FoxxMD/multi-scrobbler", 85 + "description": "Scrobble plays from multiple sources to multiple clients", 86 + "fork": false, 87 + "created_at": "2020-11-10T14:45:38Z", 88 + "updated_at": "2024-10-14T09:21:37Z", 89 + "pushed_at": "2024-10-14T15:43:00Z", 90 + "allow_forking": true, 91 + "is_template": false, 92 + "web_commit_signoff_required": false, 93 + "visibility": "public", 94 + "forks": 16, 95 + "open_issues": 19, 96 + "watchers": 369, 97 + "default_branch": "master", 98 + "allow_squash_merge": true, 99 + "allow_merge_commit": true, 100 + "allow_rebase_merge": true, 101 + "allow_auto_merge": false, 102 + "delete_branch_on_merge": false, 103 + "allow_update_branch": false, 104 + "use_squash_pr_title_as_default": false, 105 + "squash_merge_commit_message": "COMMIT_MESSAGES", 106 + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", 107 + "merge_commit_message": "PR_TITLE", 108 + "merge_commit_title": "MERGE_MESSAGE" 109 + } 110 + }, 111 + "base": { 112 + "label": "FoxxMD:master", 113 + "ref": "master", 114 + "sha": "9c21db8172b6beff9d321e831e9353bf17e92a37", 115 + "repo": { 116 + "id": 311688903, 117 + "node_id": "MDEwOlJlcG9zaXRvcnkzMTE2ODg5MDM=", 118 + "name": "multi-scrobbler", 119 + "full_name": "FoxxMD/multi-scrobbler", 120 + "private": false, 121 + "fork": false, 122 + "created_at": "2020-11-10T14:45:38Z", 123 + "updated_at": "2024-10-14T09:21:37Z", 124 + "pushed_at": "2024-10-14T15:43:00Z", 125 + "allow_forking": true, 126 + "is_template": false, 127 + "web_commit_signoff_required": false, 128 + "visibility": "public", 129 + "forks": 16, 130 + "open_issues": 19, 131 + "watchers": 369, 132 + "default_branch": "master", 133 + "allow_squash_merge": true, 134 + "allow_merge_commit": true, 135 + "allow_rebase_merge": true, 136 + "allow_auto_merge": false, 137 + "delete_branch_on_merge": false, 138 + "allow_update_branch": false, 139 + "use_squash_pr_title_as_default": false, 140 + "squash_merge_commit_message": "COMMIT_MESSAGES", 141 + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", 142 + "merge_commit_message": "PR_TITLE", 143 + "merge_commit_title": "MERGE_MESSAGE" 144 + } 145 + }, 146 + "author_association": "OWNER", 147 + "auto_merge": null, 148 + "active_lock_reason": null, 149 + "merged": false, 150 + "mergeable": null, 151 + "rebaseable": null, 152 + "mergeable_state": "unknown", 153 + "merged_by": null, 154 + "comments": 0, 155 + "review_comments": 0, 156 + "maintainer_can_modify": false, 157 + "commits": 5, 158 + "additions": 84, 159 + "deletions": 28, 160 + "changed_files": 5 161 + }, 162 + "before": "335ee0cd601f5a82e36643c812507b2b53e7daf0", 163 + "after": "e251da9b8eecfcb3aba8756393e5075d0092794b" 164 + }
+8 -1
.github/workflows/pr.yml
··· 14 14 test: 15 15 if: contains(github.event.pull_request.labels.*.name, 'safe to test') 16 16 uses: ./.github/workflows/testAndSanity.yml 17 + with: 18 + ref: ${{ github.event.pull_request.head.sha }} 17 19 18 20 release-snapshot: 19 21 name: Release snapshot ··· 66 68 with: 67 69 ref: ${{ github.event.pull_request.head.sha }} 68 70 71 + - name: Set short git commit SHA 72 + run: | 73 + short=$(echo "${{ github.event.pull_request.head.sha }}" | head -c7) 74 + echo "COMMIT_SHORT_SHA=$short" >> $GITHUB_ENV 75 + 69 76 - name: Build and push 70 77 id: docker_build 71 78 uses: docker/build-push-action@v5 72 79 env: 73 - APP_VERSION: ${{ format('pr{0}-{1}', github.event.number, github.event.pull_request.head.sha ) }} 80 + APP_VERSION: ${{ format('pr{0}-{1}', github.event.number, env.COMMIT_SHORT_SHA ) }} 74 81 with: 75 82 context: . 76 83 build-args: |
+6
.github/workflows/testAndSanity.yml
··· 8 8 required: false 9 9 default: '18.x' 10 10 type: string 11 + ref: 12 + description: "Ref to checkout" 13 + required: false 14 + type: string 11 15 12 16 jobs: 13 17 test: ··· 16 20 steps: 17 21 - name: Check out the repo 18 22 uses: actions/checkout@v4 23 + with: 24 + ref: ${{ inputs.ref }} 19 25 - name: Use Node.js 20 26 uses: actions/setup-node@v4 21 27 with: