diff --git a/.github/workflows/update-all-review-data.yml b/.github/workflows/update-all-review-data.yml deleted file mode 100644 index a798239f..00000000 --- a/.github/workflows/update-all-review-data.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: ALL Contribs & Reviewers Update -# Update all contributor and review data from Github api and issues (the other workflow just adds any new missing data but won't repopulate things like date accepted, or user data that may have changed in people's profiles. -on: - workflow_dispatch: -jobs: - run-meta: - if: github.repository_owner == 'pyopensci' - runs-on: ubuntu-latest - steps: - - name: Check out the code - uses: actions/checkout@v5 - - name: Setup Python - uses: actions/setup-python@v6 - with: - python-version: "3.10" - - name: Upgrade pip - run: | - # install pip=>20.1 to use "pip cache dir" - python -m pip install --upgrade pip wheel - - name: Install pyosmeta and run update contribs - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - pip install pyosmeta@git+https://github.com/pyopensci/update-web-metadata - update-contributors --update update_all - update-reviews - update-review-teams - - name: Create Pull Request - uses: peter-evans/create-pull-request@v7 - with: - add-paths: | - _data/contributors.yml - _data/packages.yml - author: Leah - base: main - branch: contribs - commit-message: "Update: Contributor & review file update" - delete-branch: true - title: Update contributor and review data - labels: | - pre-commit.ci autofix - env: - # Custom token needed to trigger PR checks, as GITHUB_TOKEN won't - # https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs - GITHUB_TOKEN: ${{ secrets.PYOS_PR_TOKEN }} - - name: Slack Notification - uses: rtCamp/action-slack-notify@v2 - if: failure() - env: - SLACK_CHANNEL: pyos-infrastructure - SLACK_COLOR: '#db540b' - SLACK_LINK_NAMES: true - SLACKIFY_MARKDOWN: true - SLACK_TITLE: "ALL Contribs & Reviewers Update Workflow Failed" - SLACK_MESSAGE: "The **ALL Contribs & Reviewers Update** workflow failed for pyopensci.org. Please check the logs." - SLACK_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}