Skip to content

Commit

Permalink
chore: add build and release example app workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smallTrogdor committed Nov 14, 2024
1 parent 14fc4e2 commit 0e86b2d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/example_app_release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
name: Make example app release PR

on:
workflow_dispatch:
pull_request_target:
types:
- labeled
branches:
- main

jobs:
pull-request-creation:
if: contains(github.event.pull_request.labels.*.name, format('autorelease{0} tagged', ':'))
permissions:
pull-requests: write
contents: write
Expand Down Expand Up @@ -39,7 +44,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: ${{ format('chore{0} Example app release v{1}', ':', steps.read_build_name.outputs.pubspec_build_name) }}
commit-message: ${{ format('chore{0} example app release v{1}', ':', steps.read_build_name.outputs.pubspec_build_name) }}
branch: "chore/example-release"
title: ${{ format('Release example app v{0}', steps.read_build_name.outputs.pubspec_build_name) }}
body: |
Expand Down

0 comments on commit 0e86b2d

Please sign in to comment.