Skip to content

Commit

Permalink
ci: Use semantic PR action instead of app (#1235)
Browse files Browse the repository at this point in the history
The app installation was needed to enable this on PRs from forks. With `pull_request_target` it should now be possible to run it in an action.
  • Loading branch information
paulgessinger committed Apr 27, 2022
1 parent c37953b commit 5526ecd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/semantic.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Lint PR"

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

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5526ecd

Please sign in to comment.