mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
Make the github action fail if used on the main branch (#7967)
This commit is contained in:
parent
75e49e9740
commit
7e69a34f51
1 changed files with 3 additions and 0 deletions
3
.github/workflows/dogfood-deploy.yml
vendored
3
.github/workflows/dogfood-deploy.yml
vendored
|
|
@ -39,6 +39,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
||||
- id: fail-on-main
|
||||
run: "false"
|
||||
if: ${{ github.ref == 'main' }}
|
||||
- uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
role-to-assume: ${{env.AWS_IAM_ROLE}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue