Only allow promote and stage to run on the awx repo

This commit is contained in:
John Westcott IV 2022-12-07 14:09:36 -05:00
parent a0b8215c06
commit 31c2e1a450
2 changed files with 2 additions and 0 deletions

View File

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

View File

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