Action refactor: Only run on push and also send to slack the sha of the commit

This commit is contained in:
Adrià Casajús 2022-05-12 17:02:03 +02:00
parent 6880fe2150
commit e584268219
No known key found for this signature in database
GPG Key ID: F0033226A5AFC9B9
1 changed files with 1 additions and 3 deletions

View File

@ -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 }})"
}
},
{