Skip to content

Commit

Permalink
ci: reuse pr title & release actions from ufc/actions (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnurmi authored Jul 4, 2023
1 parent 67d5e40 commit 37017c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,6 @@ on:
- edited
- synchronize

permissions:
pull-requests: read

jobs:
title:
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
uses: ubuntu-flutter-community/actions/.github/workflows/semantic-pr.yaml@main
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,4 @@ on:

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
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}'
uses: ubuntu-flutter-community/actions/.github/workflows/release-please.yaml@main

0 comments on commit 37017c7

Please sign in to comment.