mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Only allow promote and stage to run on the awx repo
This commit is contained in:
parent
a0b8215c06
commit
31c2e1a450
1
.github/workflows/promote.yml
vendored
1
.github/workflows/promote.yml
vendored
@ -10,6 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
promote:
|
||||
if: github.repository == 'ansible/awx'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout awx
|
||||
|
||||
1
.github/workflows/stage.yml
vendored
1
.github/workflows/stage.yml
vendored
@ -21,6 +21,7 @@ on:
|
||||
|
||||
jobs:
|
||||
stage:
|
||||
if: github.repository == 'ansible/awx'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user