Skip to content

Auto Update whatsmeow #9

Auto Update whatsmeow

Auto Update whatsmeow #9

Workflow file for this run

name: Auto Update whatsmeow
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.21.5'
- name: installing proto-gen-go
run: |
cd goneonize
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
- uses: actions/setup-python@v4
with:
python-version: "3.11.8"
- uses: astral-sh/ruff-action@v3
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: fetch new proto files
run: |
uv sync --group dev
uv run task proto
git diff --exit-code && uv run task build proto
- name: update golang dependencies
run: ruff format . && cd goneonize && go get -u && go mod tidy
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
commit-message: |
Whatsmeow
- Update proto files
- Update golang depedencies
signoff: false
branch: whatsmeow_update
delete-branch: true
title: '[Update] Whatsmeow version'
body: |
Whatsmeow
- Update proto files
- Update golang depedencies
labels: |
proto
whatsmeow
goneonize
automated pr
assignees: krypton-byte
reviewers: krypton-byte
team-reviewers: |
developers
qa-team
milestone: 1
draft: false