Skip to content

Commit

Permalink
[GHA] Avoid running actions in forks - leftovers (openvinotoolkit#26791)
Browse files Browse the repository at this point in the history
Continuation of openvinotoolkit#26749
  • Loading branch information
akladiev authored Sep 25, 2024
1 parent 4bfe725 commit cc4cf68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ permissions: read-all
jobs:
clang-format:
runs-on: ubuntu-22.04
if: ${{ github.repository_owner == 'openvinotoolkit' }}
permissions:
pull-requests: write
if: ${{ github.repository_owner == 'openvinotoolkit' }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
Expand Down Expand Up @@ -40,6 +40,7 @@ jobs:

ShellCheck:
runs-on: ubuntu-22.04
if: ${{ github.repository_owner == 'openvinotoolkit' }}
permissions:
pull-requests: write
steps:
Expand Down Expand Up @@ -73,6 +74,7 @@ jobs:
NamingConventionCheck:
runs-on: ubuntu-22.04
if: ${{ github.repository_owner == 'openvinotoolkit' }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
contents: read
pull-requests: write
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'openvinotoolkit' }}
steps:
- uses: akladiev/labeler@eeac5941e7fb6f980d47e038ac0665168851c874 # v4.3.1
with:
Expand All @@ -22,6 +23,7 @@ jobs:
external_pr_labeller:
name: Label External PR
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'openvinotoolkit' }}
steps:
- name: Checkout Labeller Script
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down

0 comments on commit cc4cf68

Please sign in to comment.