From 562f2670c3146c51c7cdb55d4263ed2661cde1bc Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 21 Oct 2021 21:46:47 +0200 Subject: [PATCH 1/3] Create CODEOWNERS --- .github/CODEOWNERS | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..7a89b881c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,29 @@ +# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners + +# These owners will be the default owners for everything in +# the repo. Unless a later match takes precedence, these will be requested for +# review when someone opens a pull request. +* @Superalgos/core-devs + +# Project Teams +/Projects/Algorithmic-Trading @Superalgos/algorithmic-trading-project +/Projects/Community-Plugins @Superalgos/community-plugins-project +/Projects/Data-Mining @Superalgos/data-mining-project +/Projects/Ethereum @Superalgos/ethereum-project +/Projects/Foundations @Superalgos/foundations-project +/Projects/Governance @Superalgos/governance-project +/Projects/Machine-Learning @Superalgos/machine-learning-project +/Projects/Network @Superalgos/network-project +/Projects/Social-Bots @Superalgos/social-bots-project +/Projects/Social-Trading @Superalgos/social-trading-project +/Projects/TensorFlow @Superalgos/tensorflow-project +/Projects/Visual-Scripting @Superalgos/visual-scripting-project + +/Projects/Education @Superalgos/education-project +Docs*/ @Superalgos/education-project + +/.github @Superalgos/sysadmins-team +/Docker @Superalgos/sysadmins-team +.git* @Superalgos/sysadmins-team +.docker* @Superalgos/sysadmins-team +package*.json @Superalgos/sysadmins-team From b6128a68626ab2b1026f0b67958269eb9c43b51f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 21 Oct 2021 21:48:49 +0200 Subject: [PATCH 2/3] Create release_build_dev.yml --- .github/workflows/release_build_dev.yml | 80 +++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 .github/workflows/release_build_dev.yml diff --git a/.github/workflows/release_build_dev.yml b/.github/workflows/release_build_dev.yml new file mode 100644 index 000000000..feb7d2a58 --- /dev/null +++ b/.github/workflows/release_build_dev.yml @@ -0,0 +1,80 @@ +name: Nightly develop Binaries + +on: + schedule: + - cron: '20 3 * * *' + + workflow_dispatch: + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - name: Download a file + run: curl "https://raw.githubusercontent.com/${{ github.repository }}/develop/package.json" -o package.json + + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y%m%d')" + + - name: get-version + id: version + uses: nyaa8/package-version@v1 + with: + path: './package.json' + + - name: Create nightly release + id: create_release + uses: viperproject/create-nightly-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ env.PACKAGE_VERSION }}.${{ steps.date.outputs.date }} + release_name: Superalgos ${{ env.PACKAGE_VERSION }} Snapshot ${{ steps.date.outputs.date }} + keep_num: 5 + keep_tags: false + + build-release: + runs-on: ${{ matrix.os }} + needs: create-release + strategy: + matrix: + os: [windows-latest, macos-latest] + + steps: + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y%m%d')" + + - name: Check out Git repository + uses: actions/checkout@v2 + with: + ref: develop + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 14 + + - name: get-version + id: version + uses: nyaa8/package-version@v1 + with: + path: './package.json' + + - name: Build/release Electron app + #env: + # DATE: ${{ steps.date.outputs.date }} + uses: samuelmeuli/action-electron-builder@v1 + with: + # GitHub token, automatically provided to the action + # (No need to define this secret in the repo settings) + github_token: ${{ secrets.github_token }} + args: "-c.extraMetadata.main=electron-wrapper.js -c.extraMetadata.version=${{ env.PACKAGE_VERSION }}.${{ steps.date.outputs.date }} -c build/electron-builder.json -p onTagOrDraft" + + # If the commit is tagged with a version (e.g. "v1.0.0"), + # release the app after building + # release: ${{ startsWith(github.ref, 'refs/tags/v') }} + release: true + + From 7410879ceef569328dad484bdad9ab47530136e7 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 28 Oct 2021 20:55:23 +0200 Subject: [PATCH 3/3] Update CODEOWNERS --- .github/CODEOWNERS | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 36bd2f64a..90f6bc1b0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -3,11 +3,8 @@ # These owners will be the default owners for everything in # the repo. Unless a later match takes precedence, these will be requested for # review when someone opens a pull request. -<<<<<<< HEAD + * @Superalgos/foundations-project -======= -* @Superalgos/core-devs ->>>>>>> b6128a68626ab2b1026f0b67958269eb9c43b51f # Project Teams /Projects/Algorithmic-Trading @Superalgos/algorithmic-trading-project