Skip to content

Update add-publish-checks.yml #7

Update add-publish-checks.yml

Update add-publish-checks.yml #7

name: Add pre and post publishing check list as comment
on:
issues:
types: [labeled]
jobs:
add-comment:
if: ${{ github.event.label.name == 'flow: ready to publish' }}

Check failure on line 8 in .github/workflows/add-publish-checks.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/add-publish-checks.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add pre and post publishing check list as comment
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: |
### Pre-publishing checklist
- [ ] Post Title and subheaders in sentence case