Skip to content

chore: add debug flag #1

chore: add debug flag

chore: add debug flag #1

name: Notify about repo activity

Check failure on line 1 in .github/workflows/activity-notifications.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/activity-notifications.yml

Invalid workflow file

(Line: 5, Col: 3): Unexpected value 'inputs'
on:
workflow_dispatch:
inputs:
debug:
description: Enable debug logging
required: false
default: false
jobs:
run:
if: github.repository_owner == 'payloadcms'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup
uses: ./.github/actions/setup
- name: Popular Issues to Slack
run: node ./.github/actions/activity/dist/popular-issues.js
continue-on-error: true
- name: New Issues to Slack
run: node ./.github/actions/activity/dist/new-issues.js
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
DEBUG: ${{ github.event.inputs.debug || 'false' }}