From 35d12d59ad84b35a63347ed173f8ce8b59190f84 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Fri, 10 Feb 2023 10:21:50 -0800 Subject: [PATCH] Adjust cron timer to be 1 hour after kinoite-nvidia, add release bot and github.com/apps/pull config --- .github/pull.yml | 6 ++++++ .github/workflows/build.yml | 2 +- .github/workflows/conventional-commits.yml | 14 ++++++++++++++ .github/workflows/release-please.yml | 13 +++++++++++++ 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 .github/pull.yml create mode 100644 .github/workflows/conventional-commits.yml create mode 100644 .github/workflows/release-please.yml diff --git a/.github/pull.yml b/.github/pull.yml new file mode 100644 index 00000000..75cb8840 --- /dev/null +++ b/.github/pull.yml @@ -0,0 +1,6 @@ +version: "1" +rules: + - base: main + upstream: ublue-os:main + mergeMethod: merge + mergeUnstable: false diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d440f99b..ef6c2ade 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: branches: - main schedule: - - cron: '0 23 * * *' # 11:00pm everyday + - cron: '20 21 * * *' # 9:20pm everyday push: branches: - main diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 00000000..915e2574 --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,14 @@ +name: Conventional Commits + +on: + pull_request: + branches: main + +jobs: + build: + name: Conventional Commits + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: webiny/action-conventional-commits@v1.1.0 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 00000000..04689ac9 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,13 @@ +on: + push: + branches: + - main +name: release-please +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + with: + release-type: node + package-name: release-please-action