Skip to content

Commit 6e5cc84

Browse files
authored
Merge pull request #103 from creativecommons/automation
Run the track new issues in backlog workflow hourly and switch to a new implementation
2 parents 289791b + 708b635 commit 6e5cc84

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/track_backlog.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,34 @@ name: Track new issues in backlog
22
on:
33
workflow_dispatch:
44
schedule:
5-
- cron: "45 0 * * *" # Run at 45 minutes past midnight
5+
- cron: "45 * * * *" # Run at 45 minutes past the hour, every hour
66
jobs:
7-
build:
7+
add_issues_to_project:
8+
name: Track all issues
89
runs-on: ubuntu-latest
910
steps:
1011
- name: Track all issues
11-
uses: dhruvkb/issue-projector@0.0.5
12+
uses: dhruvkb/issue-projector@0.0.7
1213
with:
1314
ACCESS_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
1415
ORG_NAME: 'creativecommons'
1516
PROJECT_NUMBER: 10 # Backlog
1617
COLUMN_NAME: 'Pending Review'
1718
EXCLUDED_PROJECT_NUMBER: 7 # Active sprint
1819
ISSUE_TYPE: 'issue'
20+
INTERVAL: 1
21+
INTERVAL_UNIT: 'h'
22+
add_prs_to_project:
23+
name: Track all PRs
24+
runs-on: ubuntu-latest
25+
steps:
1926
- name: Track all PRs
20-
uses: dhruvkb/issue-projector@0.0.5
27+
uses: dhruvkb/issue-projector@0.0.7
2128
with:
2229
ACCESS_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
2330
ORG_NAME: 'creativecommons'
2431
PROJECT_NUMBER: 7 # Active sprint
2532
COLUMN_NAME: 'Code Review'
2633
ISSUE_TYPE: 'pr'
34+
INTERVAL: 1
35+
INTERVAL_UNIT: 'h'

0 commit comments

Comments
 (0)