소스 검색

CI: Remove matrix commit message workflow.

Luther Blissett 3 년 전
부모
커밋
1494782314
1개의 변경된 파일0개의 추가작업 그리고 39개의 파일을 삭제
  1. 0 39
      .github/workflows/matrix-commit-message.yml

+ 0 - 39
.github/workflows/matrix-commit-message.yml

@@ -1,39 +0,0 @@
-on: [push]
-
-jobs:
-  send-message:
-    runs-on: ubuntu-latest
-    name: Send message via Matrix
-    steps:
-      - name: checkout
-        uses: actions/checkout@v2
-        with:
-          fetch-depth: 0
-      - run: |
-          ALL_MSGS=""
-          for i in ${{ join(github.event.commits.*.id, ' ') }}; do
-            MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i)
-            ALL_MSGS="$ALL_MSGS$MSG<br>"
-          done
-          echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"
-        id: commit-message
-      - uses: narodnik/matrix-action@main
-        with:
-          server: 'matrix.dark.fi'
-          room-id: '!BQEjGPeQwWMEvvOLtO:dark.fi'
-          #access_token: ${{ secrets.MATRIX_TOKEN }}
-          status: 'OK'
-          user: 'b1-66er'
-          password: ${{ secrets.MATRIX_PASSWORD }}
-          message: '${{ steps.commit-message.outputs.COMMIT_MESSAGE }}'
-          #- name: Send message to test channel
-          #  id: matrix-chat-message
-          #  uses: fadenb/matrix-chat-message@v0.0.6
-          #  with:
-          #    homeserver: 'dark.fi'
-          #    token: ${{ secrets.MATRIX_TOKEN }}
-          #    channel: '!MODZOZydPqCRdulXmR:dark.fi'
-          #    message: |
-          #      This is an *example message* using **markdown** for formatting.\
-          #      Use a `\` character at the end of a line to cause a linebreak (the whole message is treated as markdown).\
-          #      You can use variables like ${{ github.sha }} anywhere.