mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
updating project actions
This commit is contained in:
parent
e7bcf55096
commit
6b94d073a9
2 changed files with 14 additions and 4 deletions
10
.github/pr-glob-labeler.yml
vendored
10
.github/pr-glob-labeler.yml
vendored
|
|
@ -1,10 +1,16 @@
|
|||
# Add type: unittest label if any changes in tests folders
|
||||
'type: unittest':
|
||||
- any: ['tests/**/*', 'openpype/tests/**/*']
|
||||
- tests/**/*
|
||||
- tests/**
|
||||
- openpype/tests/**/*
|
||||
- openpype/tests/**
|
||||
|
||||
# any changes in documentation structure
|
||||
'type: documentation':
|
||||
- any: ['website/**/*', 'docs/**/*']
|
||||
- website/**/*
|
||||
- website/**
|
||||
- docs/**/*
|
||||
- docs/**
|
||||
|
||||
# hosts triage
|
||||
'host: Nuke':
|
||||
|
|
|
|||
8
.github/workflows/project_actions.yml
vendored
8
.github/workflows/project_actions.yml
vendored
|
|
@ -48,7 +48,9 @@ jobs:
|
|||
label_prs_branch:
|
||||
name: pr_branch_label
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.action == 'opened'
|
||||
if: |
|
||||
${{(github.event_name == 'pull_request' && github.event.action == 'synchronize')
|
||||
|| (github.event_name == 'pull_request' && github.event.action == 'opened')}}
|
||||
steps:
|
||||
- name: Label PRs - Branch name detection
|
||||
uses: ffittschen/pr-branch-labeler@v1
|
||||
|
|
@ -58,7 +60,9 @@ jobs:
|
|||
label_prs_globe:
|
||||
name: pr_globe_label
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.action == 'opened'
|
||||
if: |
|
||||
${{(github.event_name == 'pull_request' && github.event.action == 'synchronize')
|
||||
|| (github.event_name == 'pull_request' && github.event.action == 'opened')}}
|
||||
steps:
|
||||
- name: Label PRs - Globe detection
|
||||
uses: actions/labeler@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue