[DEV/DEP]: Bump puppeteer from 20.7.4 to 21.3.5 #344
This file contains 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
# Worflow borrowed from covid19india/covid19india-react | |
on: | |
issue_comment: | |
types: [created] | |
name: Mod | |
jobs: | |
moderate: | |
runs-on: ubuntu-latest | |
name: Make issue Available | |
if: github.event.issue.pull_request == '' | |
&& contains(github.event.comment.body, '/available') | |
&& contains(toJson(github.event.issue.labels), 'Review Needed') | |
steps: | |
- uses: actions/[email protected] | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
await github.issues.removeLabel({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
name: 'Status: Review Needed' | |
}) | |
await github.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['Status: Available'] | |
}) | |
await github.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: 'This issue is available for contribution.\n\nPlease reply "/claim" (without quotes) if you wish to work on this issue.' | |
}) |