Skip to content

Commit

Permalink
Automate issue creation for Quarterly Updates (#3709)
Browse files Browse the repository at this point in the history
* Automate issue creation for Quarterly Updates

* Add date filter and workflow_dispatch
  • Loading branch information
aesharpe authored Jul 10, 2024
1 parent 051674a commit 9f88268
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/quarterly_updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Quarterly Update {{ date | date('[Q]Q YYYY') }}
about: Check-list for integrating the quarterly updates into PUDL
title: ""
labels: data-update
assignees: ""
---

### Quarterly Update Check-list

Once the new archives have been vetted and published, you can begin the process of integrating the new quarterly update data into PUDL.

Follow the steps in [Existing Data Updates Docs](https://catalystcoop-pudl.readthedocs.io/en/latest/dev/existing_data_updates.html)

```[tasklist]
- [ ] EIA 860m {{ date | date('[Q]Q YYYY') }} Update
- [ ] EIA 923 {{ date | date('[Q]Q YYYY') }} Update
- [ ] EIA 930 {{ date | date('[Q]Q YYYY') }} Update
- [ ] CEMS {{ date | date('[Q]Q YYYY') }} Update
- [ ] EIA Bulk API {{ date | date('[Q]Q YYYY') }} Update
```
22 changes: 22 additions & 0 deletions .github/workflows/q-update-issue-scheduler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: quarterly-update-issues
on:
workflow_dispatch:
schedule:
- cron: "21 8 2 2,5,8,11 *" # 8:21 AM UTC, second of feb, may, aug, nov

jobs:
create_issue:
name: Create quarterly update issue
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- name: Create quarterly update issue
uses: JasonEtco/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
with:
filename: .github/ISSUE_TEMPLATE/quarterly_updates.md

0 comments on commit 9f88268

Please sign in to comment.