mirror of
https://github.com/iptv-org/iptv
synced 2026-11-29 12:35:07 -05:00
Merge pull request #60521 from Dev-next-gen/fix/authenticate-issue-loading
fix: authenticate the GitHub requests made by loadIssues
This commit is contained in:
2 files changed
+5
-1
No files matched your search
@@ -28,6 +28,8 @@ jobs:
|
||||
run: npm install
|
||||
- name: Update internal playlists
|
||||
id: playlist-update
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ steps.create-app-token.outputs.token || secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
npm run playlist:update
|
||||
echo "processed_issues=$(cat temp/logs/playlist_update.log)" >> $GITHUB_OUTPUT
|
||||
|
||||
+3
-1
@@ -243,7 +243,9 @@ export function parseStreamInfo(url: string, data: string): StreamInfo | undefin
|
||||
|
||||
export async function loadIssues(props?: { labels: string | string[] }) {
|
||||
const CustomOctokit = Octokit.plugin(paginateRest, restEndpointMethods)
|
||||
const octokit = new CustomOctokit()
|
||||
const octokit = new CustomOctokit({
|
||||
auth: process.env.GITHUB_TOKEN
|
||||
})
|
||||
|
||||
let labels = ''
|
||||
if (props && props.labels) {
|
||||
|
||||
Reference in new issue
Block a user