Skip to content

Commit

Permalink
ci: Switch to github actions based semantic PRs (#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
dermotduffy committed Sep 16, 2024
1 parent f924537 commit d187d74
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/semantic-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Semantic PR

on:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Semantic Release

permissions:
contents: write # To be able to publish a GitHub release
issues: write # To be able to comment on released issues
pull-requests: write # To be able to comment on released pull requests

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: write # To be able to publish a GitHub release
issues: write # To be able to comment on released issues
pull-requests: write # To be able to comment on released pull requests

jobs:
get-next-version:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d187d74

Please sign in to comment.