Skip to content

Commit

Permalink
Merge pull request #82 from capsule-corp-ternoa/github-workflow
Browse files Browse the repository at this point in the history
Create member-contribution-report.yml
  • Loading branch information
Balianos authored Dec 1, 2022
2 parents c736f1e + 6f4aff0 commit 0bda298
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions workflows/member-contribution-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
schedule:
# Runs on the first day of the month at 00:00 UTC
#
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ minute
# β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ hour
# β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day (month)
# β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€ month
# β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€ day (week)
- cron: '0 0 1 * *'
workflow_dispatch:
inputs:
fromdate:
description: 'Optional interval start date (format: yyyy-mm-dd)'
required: false # Skipped if workflow dispatch input is not provided
todate:
description: 'Optional interval end date (format: yyyy-mm-dd)'
required: false # Skipped if workflow dispatch input is not provided

jobs:
member-contribution-report:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Get Member Contributions
uses: nicklegan/[email protected]
with:
token: ${{ secrets.ORG_TOKEN }}
fromdate: ${{ github.event.inputs.fromdate }} # Used for workflow dispatch input
todate: ${{ github.event.inputs.todate }} # Used for workflow dispatch input

0 comments on commit 0bda298

Please sign in to comment.