From dca139a481c5485b86bd55fa76a4db5ec824e71a Mon Sep 17 00:00:00 2001 From: Guillaume Roux Date: Sat, 14 Jan 2023 22:31:38 +0100 Subject: [PATCH] fixed contribution script --- .github/workflows/contribute.yml | 18 ------------------ .github/workflows/dart.yml | 9 +++++++++ 2 files changed, 9 insertions(+), 18 deletions(-) delete mode 100644 .github/workflows/contribute.yml diff --git a/.github/workflows/contribute.yml b/.github/workflows/contribute.yml deleted file mode 100644 index 2eaa6e7..0000000 --- a/.github/workflows/contribute.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Contribute List - -on: - workflow_run: - workflows: [Dart] - branches: main - types: [completed] - -jobs: - contrib-readme-job: - if: ${{ github.event.workflow_run.conclusion == 'success' }} - runs-on: ubuntu-latest - name: A job to automate contrib in readme - steps: - - name: Contribute List - uses: akhilmhdh/contributors-readme-action@v2.3.6 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 918799e..44b0276 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -38,3 +38,12 @@ jobs: uses: coverallsapp/github-action@1.1.3 with: github-token: ${{ secrets.GITHUB_TOKEN }} + + contributors: + needs: test + runs-on: ubuntu-latest + steps: + - name: Contribute List + uses: akhilmhdh/contributors-readme-action@v2.3.6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}