-
Notifications
You must be signed in to change notification settings - Fork 2
v1.4.0 #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v1.4.0 #78
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e1deb70
docs: update readme
DestroyCom 108593c
docs: update readme
DestroyCom 9acb0d5
docs: upgrade docker-compose
DestroyCom 88872fc
feat: add dependabot auto merge for distube
DestroyCom a76bff9
feat: add dependabot auto merge for distube
DestroyCom bfddb8a
Merge branch 'master' into fix-1
DestroyCom 56b2932
feat: add dependabot auto merge for distube (#75)
DestroyCom 6393dfa
build(deps): bump @distube/ytdl-core from 4.16.0 to 4.16.6
dependabot[bot] 386cc70
build(deps): bump @distube/ytdl-core from 4.16.0 to 4.16.6 (#76)
github-actions[bot] fafc429
build(deps): bump @distube/ytdl-core from 4.16.6 to 4.16.8
dependabot[bot] 5f448e2
build(deps): bump @distube/ytdl-core from 4.16.6 to 4.16.8 (#77)
github-actions[bot] f708d49
fix: remove play-dl
DestroyCom 9705437
ci: add youtube-dl-exec to auto-upgrade packages
DestroyCom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,10 @@ | ||
| # To get started with Dependabot version updates, you'll need to specify which | ||
| # package ecosystems to update and where the package manifests are located. | ||
| # Please see the documentation for all configuration options: | ||
| # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
|
||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: "npm" # See documentation for possible values | ||
| directory: "/" # Location of package manifests | ||
| - package-ecosystem: 'npm' | ||
| directory: '/' | ||
| schedule: | ||
| interval: "weekly" | ||
| interval: 'daily' | ||
| allow: | ||
| - dependency-name: '@distube/ytdl-core' | ||
| - dependency-name: '@distube/ytsr' | ||
| - dependency-name: 'youtube-dl-exec' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: Dependabot auto-approve and merge | ||
|
|
||
| on: pull_request_target | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| dependabot: | ||
| runs-on: ubuntu-latest | ||
| if: ${{ github.actor == 'dependabot[bot]' }} | ||
| steps: | ||
| - name: Dependabot metadata | ||
| id: metadata | ||
| uses: dependabot/fetch-metadata@v1.6.0 | ||
| with: | ||
| github-token: '${{ secrets.GITHUB_TOKEN }}' | ||
|
|
||
| - name: Approve PR | ||
| if: ${{contains(steps.metadata.outputs.dependency-names, '@distube/ytdl-core') || contains(steps.metadata.outputs.dependency-names, '@distube/ytsr') || contains(steps.metadata.outputs.dependency-names, 'youtube-dl-exec')}} | ||
| run: gh pr review --approve "$PR_URL" | ||
| env: | ||
| PR_URL: ${{github.event.pull_request.html_url}} | ||
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
|
||
| - name: Enable auto-merge for Dependabot PRs | ||
| if: ${{contains(steps.metadata.outputs.dependency-names, '@distube/ytdl-core') || contains(steps.metadata.outputs.dependency-names, '@distube/ytsr') || contains(steps.metadata.outputs.dependency-names, 'youtube-dl-exec')}} | ||
| run: gh pr merge --auto --merge "$PR_URL" | ||
| env: | ||
| PR_URL: ${{github.event.pull_request.html_url}} | ||
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| name: Post-Dependabot Merge | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
|
|
||
| jobs: | ||
| check_for_dependabot_changes: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| is_dependabot_merge: ${{ steps.check_author.outputs.is_dependabot_merge }} | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 2 | ||
|
|
||
| - name: Check if commit is from Dependabot | ||
| id: check_author | ||
| run: | | ||
| AUTHOR=$(git log -1 --pretty=format:'%an') | ||
| echo "Commit author: $AUTHOR" | ||
| if [[ "$AUTHOR" == "dependabot[bot]" ]]; then | ||
| echo "is_dependabot_merge=true" >> $GITHUB_OUTPUT | ||
| else | ||
| echo "is_dependabot_merge=false" >> $GITHUB_OUTPUT | ||
| fi | ||
|
|
||
| trigger_release: | ||
| needs: check_for_dependabot_changes | ||
| if: needs.check_for_dependabot_changes.outputs.is_dependabot_merge == 'true' | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Trigger release workflow | ||
| uses: peter-evans/repository-dispatch@v2 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| event-type: trigger-release-pipeline | ||
|
Comment on lines
+31
to
+42
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions Job or Workflow does not set permissions
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,4 @@ node_modules | |
| logs* | ||
| mongo* | ||
| dist | ||
| ``` | ||
| *player-script.js | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| version: '3' | ||
|
|
||
| services: | ||
| stroycord: | ||
| container_name: stroycord | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium