Skip to content

Commit

Permalink
revert: "ci: reuse pr title & release actions from ufc/actions (#364)"
Browse files Browse the repository at this point in the history
This reverts commit dca12c2
  • Loading branch information
jpnurmi committed Jul 18, 2023
1 parent c1e649f commit 777ea0e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,21 @@ on:

jobs:
title:
uses: ubuntu-flutter-community/actions/.github/workflows/semantic-pr.yaml@main
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
id: semantic-pr
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- uses: marocchino/sticky-pull-request-comment@v2
if: always() && steps.semantic-pr.outputs.error_message != null
with:
header: semantic-pr-error
message: ${{steps.semantic-pr.outputs.error_message}}
- if: steps.semantic-pr.outputs.error_message == null
uses: marocchino/sticky-pull-request-comment@v2
with:
header: semantic-pr-error
delete: true
11 changes: 10 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@ on:

jobs:
release:
uses: ubuntu-flutter-community/actions/.github/workflows/release-please.yaml@main
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: dart
changelog-notes-type: github
pull-request-title-pattern: 'chore: release v${version}'

0 comments on commit 777ea0e

Please sign in to comment.