-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12177 from misskey-dev/develop
Release: 2023.11.0
- Loading branch information
Showing
300 changed files
with
9,301 additions
and
3,284 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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,91 @@ | ||
name: 🐛 Bug Report | ||
description: Create a report to help us improve | ||
labels: ["⚠️bug?"] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for reporting! | ||
First, in order to avoid duplicate Issues, please search to see if the problem you found has already been reported. | ||
Also, If you are NOT owner/admin of server, PLEASE DONT REPORT SERVER SPECIFIC ISSUES TO HERE! (e.g. feature XXX is not working in misskey.example) Please try with another misskey servers, and if your issue is only reproducible with specific server, contact your server's owner/admin first. | ||
- type: textarea | ||
attributes: | ||
label: 💡 Summary | ||
description: Tell us what the bug is | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 🥰 Expected Behavior | ||
description: Tell us what should happen | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 🤬 Actual Behavior | ||
description: | | ||
Tell us what happens instead of the expected behavior. | ||
Please include errors from the developer console and/or server log files if you have access to them. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 📝 Steps to Reproduce | ||
placeholder: | | ||
1. | ||
2. | ||
3. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: 💻 Frontend Environment | ||
description: | | ||
Tell us where on the platform it happens | ||
DO NOT WRITE "latest". Please provide the specific version. | ||
Examples: | ||
* Model and OS of the device(s): MacBook Pro (14inch, 2021), macOS Ventura 13.4 | ||
* Browser: Chrome 113.0.5672.126 | ||
* Server URL: misskey.io | ||
* Misskey: 13.x.x | ||
value: | | ||
* Model and OS of the device(s): | ||
* Browser: | ||
* Server URL: | ||
* Misskey: | ||
render: markdown | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: 🛰 Backend Environment (for server admin) | ||
description: | | ||
Tell us where on the platform it happens | ||
DO NOT WRITE "latest". Please provide the specific version. | ||
If you are using a managed service, put that after the version. | ||
Examples: | ||
* Installation Method or Hosting Service: docker compose, k8s/docker, systemd, "Misskey install shell script", development environment | ||
* Misskey: 13.x.x | ||
* Node: 20.x.x | ||
* PostgreSQL: 15.x.x | ||
* Redis: 7.x.x | ||
* OS and Architecture: Ubuntu 22.04.2 LTS aarch64 | ||
value: | | ||
* Installation Method or Hosting Service: | ||
* Misskey: | ||
* Node: | ||
* PostgreSQL: | ||
* Redis: | ||
* OS and Architecture: | ||
render: markdown | ||
validations: | ||
required: false |
This file was deleted.
Oops, something went wrong.
This file contains 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,11 @@ | ||
name: ✨ Feature Request | ||
description: Suggest an idea for this project | ||
labels: ["✨Feature"] | ||
|
||
body: | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: Tell us what the suggestion is | ||
validations: | ||
required: true |
This file contains 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 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 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 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,85 @@ | ||
name: Report API Diff | ||
|
||
on: | ||
workflow_run: | ||
types: [completed] | ||
workflows: | ||
- Get api.json from Misskey # get-api-diff.yml | ||
|
||
jobs: | ||
compare-diff: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
permissions: | ||
pull-requests: write | ||
|
||
# api-artifact | ||
steps: | ||
- name: Download artifact | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
run_id: context.payload.workflow_run.id, | ||
}); | ||
let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => { | ||
return artifact.name == "api-artifact" | ||
})[0]; | ||
let download = await github.rest.actions.downloadArtifact({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
artifact_id: matchArtifact.id, | ||
archive_format: 'zip', | ||
}); | ||
let fs = require('fs'); | ||
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/api-artifact.zip`, Buffer.from(download.data)); | ||
- name: Extract artifact | ||
run: unzip api-artifact.zip -d artifacts | ||
- name: Load PR Number | ||
id: load-pr-num | ||
run: echo "pr-number=$(cat artifacts/pr_number)" >> "$GITHUB_OUTPUT" | ||
|
||
- name: Output base | ||
run: cat ./artifacts/api-base.json | ||
- name: Output head | ||
run: cat ./artifacts/api-head.json | ||
- name: Arrange json files | ||
run: | | ||
jq '.' ./artifacts/api-base.json > ./api-base.json | ||
jq '.' ./artifacts/api-head.json > ./api-head.json | ||
- name: Get diff of 2 files | ||
run: diff -u --label=base --label=head ./api-base.json ./api-head.json | cat > api.json.diff | ||
- name: Get full diff | ||
run: diff --label=base --label=head --new-line-format='+%L' --old-line-format='-%L' --unchanged-line-format=' %L' ./api-base.json ./api-head.json | cat > api-full.json.diff | ||
- name: Echo full diff | ||
run: cat ./api-full.json.diff | ||
- name: Upload full diff to Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: api-artifact | ||
path: | | ||
api-full.json.diff | ||
api-base.json | ||
api-head.json | ||
- id: out-diff | ||
name: Build diff Comment | ||
run: | | ||
cat <<- EOF > ./output.md | ||
このPRによるapi.jsonの差分 | ||
<details> | ||
<summary>差分はこちら</summary> | ||
\`\`\`diff | ||
$(cat ./api.json.diff) | ||
\`\`\` | ||
</details> | ||
[Get diff files from Workflow Page](https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}) | ||
EOF | ||
- uses: thollander/actions-comment-pull-request@v2 | ||
with: | ||
pr_number: ${{ steps.load-pr-num.outputs.pr-number }} | ||
comment_tag: show_diff | ||
filePath: ./output.md |
This file contains 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
Oops, something went wrong.