Skip to content

Commit

Permalink
Add actions file to see if it works
Browse files Browse the repository at this point in the history
  • Loading branch information
smithw-adsk committed Jan 22, 2024
1 parent fda509d commit 142b380
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/maya-usd-preflight-launcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Pre-flight build on pull request

# Trigger the workflow on pull request (assigned) event for the branch
# https://help.github.com/en/actions/reference/events-that-trigger-workflows
on:
pull_request:
branches: [main]
types: [assigned]

jobs:

clang_format_linter:
timeout-minutes: 30
runs-on: ubuntu-latest
# Start clang format by assigning pull-request to yourself.
if: ${{ github.event.assignee.login == github.event.pull_request.user.login }}
steps:
- uses: actions/checkout@v4
- uses: DoozyX/[email protected]
with:
source: '.'
clangFormatVersion: 17

0 comments on commit 142b380

Please sign in to comment.