Action refactor: Only run on push and also send to slack the sha of the commit
This commit is contained in:
parent
6880fe2150
commit
e584268219
|
@ -2,8 +2,6 @@ name: Run tests & Publish to Docker Registry
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
|
||||||
types: [ 'opened' ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -192,7 +190,7 @@ jobs:
|
||||||
"type": "section",
|
"type": "section",
|
||||||
"text": {
|
"text": {
|
||||||
"type": "mrkdwn",
|
"type": "mrkdwn",
|
||||||
"text": "*Tag: ${{ github.ref_name }}*"
|
"text": "*Tag: ${{ github.ref_name }}* (${{ github.sha }})"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue