From 0bcadffdb9ca6691e713fe8a492a483e079c8967 Mon Sep 17 00:00:00 2001 From: irongut Date: Mon, 6 Sep 2021 15:06:40 +0100 Subject: [PATCH] workflow fixes --- .github/workflows/auto-assign-pr.yml | 25 ++++++++++++++----------- .github/workflows/ci-build.yml | 14 +++++--------- 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/.github/workflows/auto-assign-pr.yml b/.github/workflows/auto-assign-pr.yml index 47ad7c2..fffed66 100644 --- a/.github/workflows/auto-assign-pr.yml +++ b/.github/workflows/auto-assign-pr.yml @@ -1,15 +1,18 @@ # Assign PR to Author # https://github.com/samspills/assign-pr-to-author -name: Auto Assign PR -on: [pull_request] +# Disabled due to #14 HttpError: Resource not accessible by integration: +# https://github.com/samspills/assign-pr-to-author/issues/14 -jobs: - assignAuthor: - runs-on: ubuntu-latest - steps: - - name: Auto Assign PR - uses: samspills/assign-pr-to-author@v1.0 - if: github.event_name == 'pull_request' && github.event.action == 'opened' - with: - repo-token: '${{ secrets.GITHUB_TOKEN }}' +#name: Auto Assign PR +#on: [pull_request] + +#jobs: +# assignAuthor: +# runs-on: ubuntu-latest +# steps: +# - name: Auto Assign PR +# uses: samspills/assign-pr-to-author@v1.0 +# if: github.event_name == 'pull_request' && github.event.action == 'opened' +# with: +# repo-token: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index b5cb49c..8d75a7c 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -11,8 +11,10 @@ jobs: runs-on: ubuntu-latest name: CI Build steps: - - uses: actions/checkout@v2 - - name: Setup .NET + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup .Net uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.x @@ -23,11 +25,5 @@ jobs: - name: Build CodeCoverageSummary run: dotnet build src/CodeCoverageSummary.sln --configuration Release --no-restore - - name: Run CodeCoverageSummary with sample file + - name: Test with sample file run: dotnet src/CodeCoverageSummary/bin/Release/net5.0/CodeCoverageSummary.dll src/coverage.cobertura.xml --badge true - - - name: Test Action - uses: irongut/CodeCoverageSummary@master - with: - filename: '/app/sample.coverage.xml' - badge: 'true'