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
2 changed files with 2 additions and 0 deletions

View File

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

View File

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