diff --git a/.github/workflows/subscribe.yaml b/.github/workflows/subscribe.yaml index cbde8dd..31bf625 100644 --- a/.github/workflows/subscribe.yaml +++ b/.github/workflows/subscribe.yaml @@ -27,10 +27,24 @@ jobs: - name: Get PR labels id: pr-labels uses: joerick/pr-labels-action@v1.0.8 - - - - name: Post - uses: dkershner6/post-api-call-action@v1 + + - name: Post Data + id: post-data + uses: octokit/request-action@v2.x with: - url: "https://np4l5e.laf.run/pr" - data: "{\"id\": \"${{ github.event.pull_request.number }}\", \"labels\": \"${{ steps.pr-labels.outputs.labels }}\", \"files_updated\": \"${{ steps.changed-files.outputs.files_updated }}\", \"files_created\": \"${{ steps.changed-files.outputs.files_created }}\", \"files_deleted\": \"${{ steps.changed-files.outputs.files_deleted }}\",\"body\":\"${{github.event.pull_request.body}}\",\"title\":\"${{github.event.pull_request.title}}\",\"url\":\"${{github.event.pull_request.html_url}}\"}" + route: POST https://np4l5e.laf.run/pr + repo: ${{github.event.repository.full_name}} + title: ${{ github.event.pull_request.title }} + work_branch: ${{ steps.branch.outputs.work_branch }} + base_branch: ${{ steps.branch.outputs.base_branch }} + id: ${{ github.event.pull_request.number }} + labels: ${{ steps.pr-labels.outputs.labels }} + files_updated: ${{ steps.changed-files.outputs.files_updated }} + files_created: ${{ steps.changed-files.outputs.files_created }} + files_deleted: ${{ steps.changed-files.outputs.files_deleted }} + source_url: ${{ github.event.pull_request.html_url }} + content: | + | + ${{ github.event.pull_request.body }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/9.计算机网络/9.计算机网络..md b/9.计算机网络/9.计算机网络..md new file mode 100644 index 0000000..4042650 --- /dev/null +++ b/9.计算机网络/9.计算机网络..md @@ -0,0 +1,6 @@ +# 9.计算机网络 +计算机网络的定义: + + 利用通信线路和通信设备,将地理位置不同的、功能独立的多台计算机互连起来,以功能完善的网络软件来实现资源共享和信息传递,就构成了计算机网络系统。 + +而我们学习计算机网络本质上可以理解为学习这个网络系统中的各种网络协议。 \ No newline at end of file