diff --git a/.github/workflows/matrix_pr_merge_notify.yml b/.github/workflows/matrix_pr_merge_notify.yml new file mode 100644 index 0000000..b0577d1 --- /dev/null +++ b/.github/workflows/matrix_pr_merge_notify.yml @@ -0,0 +1,19 @@ +name: Notify Matrix on PR Merge +on: + pull_request: + types: + - closed + +jobs: + notify_matrix: + runs-on: ubuntu-latest + if: github.event.pull_request.merged == true + steps: + - name: Send message to Matrix + uses: olabiniV2/matrix-message@v0.0.1 + with: + room_id: ${{ secrets.MATRIX_ROOM_ID }} + access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} + subject: "Pull Request Merged" + message: "🤖 [Pull Request #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) has been merged by [${{ github.event.pull_request.user.login }}](${{ github.event.pull_request.user.html_url }}) into the [${{ github.repository }}](${{ github.event.repository.html_url }}) repository." + server: "matrix.org" diff --git a/README.md b/README.md new file mode 100644 index 0000000..8fcd945 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Freenet Standard Library + +Please see https://docs.freenet.org/ for more information. Bug reports, feature requests, questions should be created in the [freenet-core](https://github.com/freenet/freenet-core/issues/) repo.