-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 875 Bytes
/
propose.yml
File metadata and controls
40 lines (33 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Propose Features
on:
schedule:
- cron: "0 8,20 * * *"
workflow_dispatch:
inputs:
dry_run:
description: "Dry run (no issues created)"
required: false
default: false
type: boolean
permissions:
contents: write
issues: write
jobs:
propose:
runs-on: github-runner-partio-minion-ai-01
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install minions
run: |
go install github.com/partio-io/minions/cmd/minions@v0.0.5
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
- name: Run propose program
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
run: |
ARGS="run .minions/programs/propose.md"
if [ "${{ inputs.dry_run }}" = "true" ]; then
ARGS="${ARGS} --dry-run"
fi
minions $ARGS