Skip to content

Commit

Permalink
Fix pull request targeting
Browse files Browse the repository at this point in the history
  • Loading branch information
vshampor committed Apr 14, 2023
1 parent 078218d commit f19a8d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/api_changes_check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: API changes check
on:
pull_request_target:
pull_request:
branches:
- develop

Expand Down Expand Up @@ -35,11 +35,11 @@ jobs:
echo ${CHANGED_FILES}
CHANGED_FILES=$(echo $CHANGED_FILES | tr '\n' ' ')
echo "changed_files=${CHANGED_FILES}" >> $GITHUB_OUTPUT
- uses: actions-ecosystem/action-add-labels@v1
if: ${{ steps.diff.outputs.changed_files }} != ""
- uses: actions-ecosystem/action-remove-labels@v1
if: !contains(steps.diff.outputs.changed_files, 'differ')
with:
labels: API
- uses: actions-ecosystem/action-remove-labels@v1
if: ${{ steps.diff.outputs.changed_files }} == ""
- uses: actions-ecosystem/action-add-labels@v1
if: contains(steps.diff.outputs.changed_files, 'differ')
with:
labels: API
5 changes: 0 additions & 5 deletions .github/workflows/build_schema_page.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: Config schema HTML build
on:
pull_request_target:
branches:
- develop
paths:
- nncf/config/**
workflow_call:
jobs:
build-config-schema-html:
Expand Down

0 comments on commit f19a8d5

Please sign in to comment.