Skip to content

[DEV/DEP]: Bump puppeteer from 20.7.4 to 21.3.1 #341

[DEV/DEP]: Bump puppeteer from 20.7.4 to 21.3.1

[DEV/DEP]: Bump puppeteer from 20.7.4 to 21.3.1 #341

Workflow file for this run

# 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/github-script@0.9.0
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.'
})