auth/.github/workflows/troubleshooting.yml
Workflow config file is invalid. Please check your config file: Line: 11 Column 5: Failed to match job-factory: Line: 14 Column 9: Failed to match run-step: Line: 14 Column 9: Unknown Property uses Line: 15 Column 13: Failed to parse: got unexpected character '"' while lexing expression, expecting 'a'..'z', 'A'..'Z', '_', '0'..'9', ''', '}', '(', ')', '[', ']', '.', '!', '<', '>', '=', '&', '|', '*', ',', ' '. do you mean string literals? only single quotes are available for string delimiter Line: 16 Column 9: Unknown Property with Line: 14 Column 9: Failed to match regular-step: Line: 15 Column 13: Failed to parse: got unexpected character '"' while lexing expression, expecting 'a'..'z', 'A'..'Z', '_', '0'..'9', ''', '}', '(', ')', '[', ']', '.', '!', '<', '>', '=', '&', '|', '*', ',', ' '. do you mean string literals? only single quotes are available for string delimiter Line: 11 Column 5: Failed to match workflow-job: Line: 13 Column 5: Unknown Property steps Forgejo Actions YAML Schema validation error
2022-05-29 13:12:51 -04:00

31 lines
960 B
YAML

name: 'troubleshooting'
on:
issues:
types:
- 'labeled'
- 'opened'
jobs:
troubleshooting:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/github-script@v6'
if: '${{ github.event.label_name == "bug" }}'
with:
script: |-
const msg =
`Hi there ${context.actor} :wave:!\n` +
`\n` +
`Thank you for reporting an issue. Our team will triage this as soon as we ` +
`can. Please take a moment to review the ` +
`[troubleshooting steps](https://github.com/google-github-actions/auth/blob/main/docs/TROUBLESHOOTING.md)` +
`which lists common error messages and their resolution steps.`;
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: msg,
});