commit
cab748588c
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -74,6 +74,7 @@ jobs:
|
|||||||
# Fake travis environment to get coveralls working correctly
|
# Fake travis environment to get coveralls working correctly
|
||||||
export TRAVIS_PULL_REQUEST="https://github.com/${GITHUB_REPOSITORY}/pull/$(cat $GITHUB_EVENT_PATH | jq -r .number)"
|
export TRAVIS_PULL_REQUEST="https://github.com/${GITHUB_REPOSITORY}/pull/$(cat $GITHUB_EVENT_PATH | jq -r .number)"
|
||||||
export CI_BRANCH=${GITHUB_REF#"ref/heads"}
|
export CI_BRANCH=${GITHUB_REF#"ref/heads"}
|
||||||
|
export CI_BRANCH=${HEAD_REF}
|
||||||
echo "${CI_BRANCH}"
|
echo "${CI_BRANCH}"
|
||||||
coveralls || true
|
coveralls || true
|
||||||
|
|
||||||
@ -97,7 +98,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Slack Notification
|
- name: Slack Notification
|
||||||
uses: homoluctus/slatify@v1.8.0
|
uses: homoluctus/slatify@v1.8.0
|
||||||
if: always() && github.repository.fork == true
|
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
||||||
with:
|
with:
|
||||||
type: ${{ job.status }}
|
type: ${{ job.status }}
|
||||||
job_name: '*Freqtrade CI ${{ matrix.os }}*'
|
job_name: '*Freqtrade CI ${{ matrix.os }}*'
|
||||||
@ -158,7 +159,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Slack Notification
|
- name: Slack Notification
|
||||||
uses: homoluctus/slatify@v1.8.0
|
uses: homoluctus/slatify@v1.8.0
|
||||||
if: always() && github.repository.fork == true
|
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
||||||
with:
|
with:
|
||||||
type: ${{ job.status }}
|
type: ${{ job.status }}
|
||||||
job_name: '*Freqtrade CI windows*'
|
job_name: '*Freqtrade CI windows*'
|
||||||
@ -178,7 +179,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Slack Notification
|
- name: Slack Notification
|
||||||
uses: homoluctus/slatify@v1.8.0
|
uses: homoluctus/slatify@v1.8.0
|
||||||
if: failure() && github.repository.fork == true
|
if: failure() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
||||||
with:
|
with:
|
||||||
type: ${{ job.status }}
|
type: ${{ job.status }}
|
||||||
job_name: '*Freqtrade Docs*'
|
job_name: '*Freqtrade Docs*'
|
||||||
@ -219,7 +220,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Slack Notification
|
- name: Slack Notification
|
||||||
uses: homoluctus/slatify@v1.8.0
|
uses: homoluctus/slatify@v1.8.0
|
||||||
if: always() && github.repository.fork == true
|
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
||||||
with:
|
with:
|
||||||
type: ${{ job.status }}
|
type: ${{ job.status }}
|
||||||
job_name: '*Freqtrade CI Deploy*'
|
job_name: '*Freqtrade CI Deploy*'
|
||||||
|
Loading…
Reference in New Issue
Block a user