Merge pull request #13304 from john-westcott-iv/limit_actions

Only allow promote and stage to run on the awx repo
This commit is contained in:
John Westcott IV 2023-02-16 08:05:23 -05:00 committed by GitHub
commit bef3da6fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ on:
jobs:
promote:
if: endsWith(github.repository, '/awx')
runs-on: ubuntu-latest
steps:
- name: Checkout awx

View File

@ -21,6 +21,7 @@ on:
jobs:
stage:
if: endsWith(github.repository, '/awx')
runs-on: ubuntu-latest
permissions:
packages: write