|
@@ -5,7 +5,9 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
name: Send message via Matrix
|
|
name: Send message via Matrix
|
|
|
steps:
|
|
steps:
|
|
|
- - run: echo '::set-output name=COMMIT_MESSAGE::fuckyou'
|
|
|
|
|
|
|
+ - run: |
|
|
|
|
|
+ LAST_MSG=$(git --no-pager show -s --format='%h %an: %s' HEAD)
|
|
|
|
|
+ echo '::set-output name=COMMIT_MESSAGE::$LAST_MSG'
|
|
|
id: commit-message
|
|
id: commit-message
|
|
|
- uses: narodnik/matrix-action@main
|
|
- uses: narodnik/matrix-action@main
|
|
|
with:
|
|
with:
|