From 949996a4a19ab718aafac7c8074183151688f1ba Mon Sep 17 00:00:00 2001 From: makikvues Date: Thu, 15 Jul 2021 09:26:34 +0200 Subject: [PATCH] - winpeas pipelines updates --- .github/workflows/CI-winpeas_dev_test.yml | 19 ++++++++++++++----- .github/workflows/CI-winpeas_master_test.yml | 3 +-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI-winpeas_dev_test.yml b/.github/workflows/CI-winpeas_dev_test.yml index 010693c..33614a5 100644 --- a/.github/workflows/CI-winpeas_dev_test.yml +++ b/.github/workflows/CI-winpeas_dev_test.yml @@ -20,14 +20,13 @@ jobs: env: Solution_Path: 'winPEAS\winPEASexe\winPEAS.sln' Configuration: 'Release' - DotFuscatorGeneratedPath: 'winPEAS\winPEASexe\binaries\Obfuscated Releases\Dotfuscated' steps: # checkout - name: Checkout uses: actions/checkout@v2 - # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild + # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild - name: Setup MSBuild.exe uses: microsoft/setup-msbuild@v1.0.2 @@ -47,10 +46,20 @@ jobs: - name: Execute unit tests run: dotnet test $env:Solution_Path - # PR - - uses: actions/checkout@v2 - - name: pull-request + + create_pull_request: + runs-on: ubuntu-latest + needs: Build_and_test_winpeas_dev + + steps: + # checkout + - name: Checkout + uses: actions/checkout@v2 + + # PR + - name: Pull Request uses: repo-sync/pull-request@v2 with: destination_branch: "master" github_token: ${{ secrets.PULL_REQUEST_TOKEN }} + \ No newline at end of file diff --git a/.github/workflows/CI-winpeas_master_test.yml b/.github/workflows/CI-winpeas_master_test.yml index 4fd5fc7..aa4a97a 100644 --- a/.github/workflows/CI-winpeas_master_test.yml +++ b/.github/workflows/CI-winpeas_master_test.yml @@ -67,7 +67,7 @@ jobs: echo "copy Any" cp winPEAS\winPEASexe\winPEAS\bin\$env:Configuration\winPEAS.exe winPEAS\winPEASexe\binaries\$env:Configuration\winPEASany.exe - # build obfuscated versions + # Setup DotFuscator - name: Setup DotFuscator run: | 7z x winPEAS\winPEASexe\Dotfuscator\DotfuscatorCE.zip @@ -103,7 +103,6 @@ jobs: run: | git config --local user.email "ci@winpeas.com" git config --global user.name "CI-winpeas" - git pull git commit -m "winpeas binaries auto update" -a --allow-empty # Git push