Skip to content

Commit

Permalink
Merge pull request #8 from wihobbs/github-ci
Browse files Browse the repository at this point in the history
.github: add commit validator
  • Loading branch information
wihobbs authored Dec 6, 2023
2 parents a6aeec0 + 030aa10 commit aa6cab4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: [pull_request, push, merge_group]
name: ci
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check-pr:
name: validate commits
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- run: git fetch origin main
- uses: flux-framework/pr-validator@master

0 comments on commit aa6cab4

Please sign in to comment.