add actions and jobs for automatic updates #38

Merged
clan-bot merged 11 commits from actions into main 2023-07-28 12:03:45 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 3eefa127fb - Show all commits

View File

@ -16,7 +16,7 @@
script = ''
while sleep 10; do
${self.packages.${pkgs.system}.clan-merge}/bin/clan-merge \
--allowed-users DavHau lassulus Mic92 \
--allowed-users clan-bot DavHau lassulus Mic92 \
--repos clan-infra clan-core clan-homepage \
--bot-name clan-bot
done

View File

@ -120,7 +120,9 @@ def clan_merge(
f"Would merge PR {pr['number']} in repo {repo} from user {pr['user']['login']}"
)
else:
print("Merging PR " + str(pr["id"]))
print(
f"Merging PR {pr['number']} in repo {repo} from user {pr['user']['login']}"
)
data = dict(
Do="merge",
)