On demand quarterly report reminders #2
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
name: On demand quarterly report reminders | |
on: | |
workflow_dispatch: | |
inputs: | |
number-of-days: | |
type: string | |
description: how many days before is the reminder required? | |
required: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the toc repository | |
uses: actions/checkout@v3 | |
- name: Run the command now | |
run: | | |
sed -i "s/buffer_window_days: 3/buffer_window_days: ${{ inputs.number-of-days }}/" ./.github/configs/quarterly-report-reminder.yaml | |
- name: GitHub Issue Schedule | |
uses: hyperledger-tooling/github-issue-schedule@1.2 | |
env: | |
GITHUB_TOKEN: "${{ secrets.TOC_ISSUES }}" | |
CONFIG_FILE: ./.github/configs/quarterly-report-reminder.yaml |