Skip to content

"Enable production mode to use Million Lint in production. This is potentially dangerous" error message even after enabling it #329

"Enable production mode to use Million Lint in production. This is potentially dangerous" error message even after enabling it

"Enable production mode to use Million Lint in production. This is potentially dangerous" error message even after enabling it #329

Workflow file for this run

name: Automated Responses
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
jobs:
respond:
runs-on: ubuntu-latest
steps:
- name: Comment on new issue
if: github.event_name == 'issues'
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Thanks for opening this issue! A maintainer will review it soon.',
})
- name: Comment on new pull request
if: github.event_name == 'pull_request_target'
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.pulls.createReview({
pull_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Thanks for opening this pull request! A maintainer will review it soon.',
event: 'COMMENT',
})