|
|
|
|
@ -16,8 +16,8 @@ on:
|
|
|
|
|
concurrency:
|
|
|
|
|
group: "${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}"
|
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
permissions:
|
|
|
|
|
repository-projects: read
|
|
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
tests:
|
|
|
|
|
name: "Tests and Linting"
|
|
|
|
|
@ -275,6 +275,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
# Notify only once - when CI completes (and after deploy) in case it's successful
|
|
|
|
|
notify-complete:
|
|
|
|
|
name: "Notify CI Completion"
|
|
|
|
|
needs: [
|
|
|
|
|
build,
|
|
|
|
|
build-linux-online
|
|
|
|
|
@ -282,8 +283,6 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
# Discord notification can't handle schedule events
|
|
|
|
|
if: github.event_name != 'schedule' && github.repository == 'freqtrade/freqtrade'
|
|
|
|
|
permissions:
|
|
|
|
|
repository-projects: read
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
|
|
- name: Check user permission
|
|
|
|
|
@ -365,7 +364,7 @@ jobs:
|
|
|
|
|
name: testpypi
|
|
|
|
|
url: https://test.pypi.org/p/freqtrade
|
|
|
|
|
permissions:
|
|
|
|
|
id-token: write
|
|
|
|
|
id-token: write # Needed for pypa/gh-action-pypi-publish
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
|
|
|
@ -394,7 +393,7 @@ jobs:
|
|
|
|
|
name: pypi
|
|
|
|
|
url: https://pypi.org/p/freqtrade
|
|
|
|
|
permissions:
|
|
|
|
|
id-token: write
|
|
|
|
|
id-token: write # Needed for pypa/gh-action-pypi-publish
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
|
|
|
@ -420,7 +419,7 @@ jobs:
|
|
|
|
|
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'release') && github.repository == 'freqtrade/freqtrade'
|
|
|
|
|
uses: ./.github/workflows/docker-build.yml
|
|
|
|
|
permissions:
|
|
|
|
|
packages: write
|
|
|
|
|
packages: write # Needed to push package versions
|
|
|
|
|
contents: read
|
|
|
|
|
secrets:
|
|
|
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
|
@ -434,6 +433,6 @@ jobs:
|
|
|
|
|
# Only run on push, schedule, or release events
|
|
|
|
|
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.repository == 'freqtrade/freqtrade'
|
|
|
|
|
permissions:
|
|
|
|
|
packages: write
|
|
|
|
|
packages: write # Needed to delete package versions
|
|
|
|
|
with:
|
|
|
|
|
package_name: 'freqtrade'
|
|
|
|
|
|