-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.1 KB
/
ci.yml
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
41
42
43
name: Daily Auto Merge
permissions:
contents: write
issues: write
pull-requests: write
on:
schedule:
# Runs every day at midnight UTC
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- name: Setup auto-merge
run: |
wget https://github.com/hack-ink/auto-merge/releases/latest/download/auto-merge-x86_64-unknown-linux-gnu.tar.gz
tar -xvf auto-merge-x86_64-unknown-linux-gnu.tar.gz
chmod +x auto-merge
- name: Run
env:
GITHUB_TOKEN: "${{ secrets.PAT }}"
run: |
REPOS=(
"hack-ink/AiR"
"hack-ink/array-bytes"
"hack-ink/auto-merge"
"hack-ink/cargo-all"
"hack-ink/cargo-featalign"
"hack-ink/githuber"
"hack-ink/language"
"hack-ink/reqwew"
"hack-ink/rust-initializer"
"hack-ink/subalfred"
"hack-ink/substrate-minimal"
"hack-ink/unescaper"
)
for REPO in "${REPOS[@]}"; do
./auto-merge "$REPO"
done