Skip to content

Update emails.proto file in modules/emails #41

Update emails.proto file in modules/emails

Update emails.proto file in modules/emails #41

# 🐻‍❄️📦 charted-server: Free, open source, and reliable Helm Chart registry made in Kotlin.
# Copyright 2022-2023 Noelware <team@noelware.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Update emails.proto file in modules/emails
on:
workflow_dispatch: {}
schedule:
- cron: '0 0 * * *'
jobs:
update:
name: Update emails.proto
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Java 20
uses: actions/setup-java@v3
with:
java-version: 20.x
distribution: temurin
- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install Prettier
run: npm i -g prettier
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Download email.proto file
uses: gradle/gradle-build-action@v2
with:
arguments: :modules:emails:downloadProtos
- name: Commit!
uses: EndBug/add-and-commit@v9
with:
author_name: Noel[bot]
default_author: user_info
author_email: noelbot@users.noreply.github.com
message: '[skip ci] :sparkles: Update `emails.proto` file in :modules:emails'
push: true