Skip to content

Commit

Permalink
ci: add lint PR action (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Sep 11, 2022
1 parent fbcc232 commit 200422d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Lint PR"

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

permissions:
contents: read

jobs:
main:
permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 comments on commit 200422d

@faddat
Copy link
Contributor

@faddat faddat commented on 200422d Sep 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Over time, you find this helps?

Recently adopted dependabot and mergify comes soon.

@julienrbrt
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it’s pretty nice to able to glimpse at the PR list and the git commit history and know what the commit/pr are about.

Please sign in to comment.