Skip to content

Commit a320bdf

Browse files
committed
update schedule
1 parent 6133732 commit a320bdf

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/schedule.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,20 @@ name: Schedule
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
branch:
7+
type: string
8+
default: "master"
59
schedule:
610
- cron: 0 23 * * *
711

812
jobs:
9-
schedule-next:
10-
if: ${{ github.event_name == 'schedule' }}
13+
schedule:
1114
uses: Geode-solutions/actions/.github/workflows/cpp-schedule.yml@master
1215
with:
1316
name: OPENGEODE_INSPECTOR
1417
repos: ${{ vars.REPOS }}
15-
branch: next
18+
branch: ${{ inputs.branch || 'next' }}
1619
secrets:
1720
TOKEN: ${{ secrets.TOKEN }}
1821
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
19-
20-
schedule-master:
21-
if: ${{ github.event_name == 'workflow_dispatch' }}
22-
uses: Geode-solutions/actions/.github/workflows/cpp-schedule.yml@master
23-
with:
24-
name: OPENGEODE_INSPECTOR
25-
repos: ${{ vars.REPOS }}
26-
branch: master
27-
secrets:
28-
TOKEN: ${{ secrets.TOKEN }}
29-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ECOSYSTEM }}

0 commit comments

Comments
 (0)