Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust preflight workflow to start when assigned to pull-request creator #1

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions .github/workflows/maya-hydra-preflight-launcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,25 @@ on:

jobs:

clang_format_linter:
timeout-minutes: 30
runs-on: ubuntu-latest
if: ${{ github.event.assignee.login == 'ecp-maya-devops-adsk' }}
steps:
# Aug 2023: Update from v2 to v3 which uses node16 (node12 is out of support).
- uses: actions/checkout@v3
- uses: DoozyX/[email protected]
with:
source: '.'
clangFormatVersion: 10
# clang_format_linter:
# timeout-minutes: 30
# runs-on: ubuntu-latest
# if: ${{ github.event.assignee.login == 'ecp-maya-devops-adsk' }}
# steps:
# # Aug 2023: Update from v2 to v3 which uses node16 (node12 is out of support).
# - uses: actions/checkout@v3
# - uses: DoozyX/[email protected]
# with:
# source: '.'
# clangFormatVersion: 14

# Wait for remote build to start and finish, report results
build_preflight:
timeout-minutes: 400
runs-on: ubuntu-latest
needs: clang_format_linter
if: ${{ github.event.assignee.login == 'ecp-maya-devops-adsk' }}
# needs: clang_format_linter
# Start preflight by assigning pull-request to yourself.
if: ${{ github.event.assignee.login == github.event.pull_request.user.login }}
steps:

# Build start info will be committed here when the remote build is launched
Expand Down
Loading