Generate Weekly Report #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This action generates a weekly report as a github issue | |
# More details in https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/24672 | |
name: 'Generate Weekly Report' | |
on: | |
workflow_dispatch: | |
schedule: | |
# run every tuesday at 1am UTC | |
- cron: "0 1 * * 2" | |
jobs: | |
get_issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm install js-yaml | |
working-directory: ./.github/workflows/scripts | |
- uses: actions/github-script@v7 | |
id: get-issues | |
with: | |
retries: 3 | |
script: | | |
const script = require('.github/workflows/scripts/generate-weekly-report.js') | |
await script({github, context}) |