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
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -2,8 +2,6 @@ name: Run tests & Publish to Docker Registry
|
|||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types: [ 'opened' ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@ -192,7 +190,7 @@ jobs:
|
|||
"type": "section",
|
||||
"text": {
|
||||
"type": "mrkdwn",
|
||||
"text": "*Tag: ${{ github.ref_name }}*"
|
||||
"text": "*Tag: ${{ github.ref_name }}* (${{ github.sha }})"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue