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 }}