From 91077d86d7821cba8a633a9f455125ae2b431dee Mon Sep 17 00:00:00 2001 From: Petr Knetl Date: Mon, 6 Jan 2025 11:31:06 +0100 Subject: [PATCH] fix(suite-native): monthly app version bump - runs only for trezor/trezor-suite repo - permission for creating a PR added --- .github/workflows/suite-native-monthly-version-bump.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/suite-native-monthly-version-bump.yml b/.github/workflows/suite-native-monthly-version-bump.yml index a421cb9c26a..7eeee0ae4f9 100644 --- a/.github/workflows/suite-native-monthly-version-bump.yml +++ b/.github/workflows/suite-native-monthly-version-bump.yml @@ -1,5 +1,6 @@ name: "[Bot] suite-native monthly version bump" - +permissions: + pull-requests: write on: schedule: # Runs on the first day of every month at 00:00 UTC @@ -7,6 +8,7 @@ on: jobs: bump_native_version: + if: github.repository == 'trezor/trezor-suite' runs-on: ubuntu-latest steps: @@ -27,6 +29,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: + commit-message: "chore(suite-native): bump version to ${{ env.NEW_VERSION }}" title: "chore(suite-native): bump version to ${{ env.NEW_VERSION }}" body: | Automated version bump to follow YY.MM.MINOR convention @@ -35,4 +38,4 @@ jobs: branch: "chore/native/bump-version-to-${{ env.NEW_VERSION }}" base: "develop" delete-branch: true - labels: mobile ci + labels: mobile, ci