Disable dab-release GHA on fork unless explicitly triggered (#15382)

Disable dab-release GHA on fork Unless explicitly triggered
This commit is contained in:
Hao Liu 2024-07-18 10:55:52 -04:00 committed by GitHub
parent 48b4c62186
commit c71e2524ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,7 @@ permissions:
contents: write
jobs:
dab-pin-newest:
if: (github.repository_owner == 'ansible' && endsWith(github.repository, 'awx')) || github.event_name != 'schedule'
runs-on: ubuntu-latest
steps:
- id: dab-release