gdscloud #380
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Confirm Decline Package | |
| on: | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| issues: write | |
| contents: write | |
| jobs: | |
| confirm_decline: | |
| runs-on: ubuntu-latest | |
| # Run if triggered by comment OR manually | |
| if: > | |
| github.event.comment.body == 'confirm-decline-package' || | |
| github.event.comment.body == '/confirm-decline-package' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: pip install requests | |
| - name: Confirm Decline | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BIOC_ORG_TOKEN: ${{ secrets.BIOC_ORG_TOKEN }} | |
| BIOC_STAGING_TOKEN: ${{ secrets.BIOC_STAGING_TOKEN }} | |
| ORG_NAME: Bioconductor | |
| TEAM_SLUG: packagereviewers # GitHub team slug, always lowercase | |
| GITHUB_REPOSITORY: ${{ github.repository }} | |
| GITHUB_EVENT_PATH: ${{ github.event_path }} | |
| SPB_RUNIVERSE: biocstaging | |
| BIOC_STAGING_ORG: BiocStaging | |
| ADMIN_REVIEWERS: ${{ secrets.ADMIN_REVIEWERS }} | |
| run: python scripts/confirm_decline.py |