Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gh-action]: Generate a weekly report of activity #26111

Merged
merged 37 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8ec5549
basic action
kevinslin Aug 20, 2023
ce431ba
chore: disable all auto gh action
kevinslin Aug 20, 2023
647de3b
test: add rest param
kevinslin Aug 20, 2023
30d4fa4
run on push
kevinslin Aug 20, 2023
b45a980
get all issue stats
kevinslin Aug 20, 2023
b39c660
generate report
kevinslin Aug 20, 2023
c14d4a9
revert: disable load tests
kevinslin Aug 20, 2023
c783994
better title label
kevinslin Aug 20, 2023
2697e16
create an issue
kevinslin Aug 20, 2023
e76d4e2
Revert "chore: disable all auto gh action"
kevinslin Aug 20, 2023
1059258
Revert "revert: disable load tests"
kevinslin Aug 20, 2023
8634175
update workflow branch
kevinslin Aug 20, 2023
41080fd
enhance: calculate deltas
kevinslin Aug 24, 2023
8932abd
chore: update weekly report
kevinslin Aug 25, 2023
61fd613
update repo owner
kevinslin Aug 25, 2023
a7a3e9d
update context
kevinslin Aug 25, 2023
fa4b556
add debug statement
kevinslin Aug 25, 2023
700fc62
dump gh context
kevinslin Aug 25, 2023
9412174
add context
kevinslin Aug 25, 2023
9c6b35b
update context
kevinslin Aug 25, 2023
31cc755
add await
kevinslin Aug 25, 2023
dc820f9
get issues from the right place
kevinslin Aug 25, 2023
3110b14
update date range
kevinslin Aug 25, 2023
3c78f74
remove gh context
kevinslin Aug 25, 2023
bce9e73
update cron
kevinslin Aug 25, 2023
0551502
Update .github/workflows/scripts/generate-weekly-report.js
kevinslin Aug 25, 2023
f61c5f1
Update .github/workflows/scripts/generate-weekly-report.js
kevinslin Aug 25, 2023
ffc4095
enhance: support gh style checkboxes
kevinslin Sep 3, 2023
7a11c9e
address pr issues
kevinslin Sep 12, 2023
2037968
Merge branch 'main' into chore/weekly-report-gen
kevinslin Sep 12, 2023
7401fc3
Merge branch 'main' into chore/weekly-report-gen
kevinslin Sep 14, 2023
983165a
Merge branch 'main' into chore/weekly-report-gen
kevinslin Sep 18, 2023
80559bb
Update .github/workflows/scripts/generate-weekly-report.js
kevinslin Sep 19, 2023
f6a8605
Update .github/workflows/generate-weekly-report.yml
kevinslin Sep 19, 2023
53f77c6
Merge branch 'main' into chore/weekly-report-gen
kevinslin Sep 19, 2023
6133af1
Merge branch 'main' into chore/weekly-report-gen
kevinslin Sep 20, 2023
5918ac7
Merge branch 'main' into chore/weekly-report-gen
kevinslin Sep 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/generate-weekly-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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@v3
- run: npm install js-yaml
working-directory: ./.github/workflows/scripts
- uses: actions/github-script@v6
id: get-issues
with:
retries: 3
script: |
const script = require('.github/workflows/scripts/generate-weekly-report.js')
await script({github, context})
Loading