Skip to content

Commit

Permalink
refactor: include branches that are unprotected
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick VanCise authored and Nick VanCise committed Dec 28, 2023
1 parent 0a47cad commit f8c705c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/protected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
branches: ['master']

jobs:
call-admin:
admin:
uses: ./.github/workflows/admin.workflow.yml

call-auth:
auth:
uses: ./.github/workflows/auth.workflow.yml

call-gbajs3:
gbajs3:
uses: ./.github/workflows/gbajs3.workflow.yml
16 changes: 8 additions & 8 deletions .github/workflows/unprotected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Unprotected

on:
push:
branches: ['!master']
branches: ['**', '!master']
pull_request:
branches: ['!master']
branches: ['**', '!master']

jobs:
change-detect:
Expand All @@ -28,17 +28,17 @@ jobs:
gbajs3:
- 'gbajs3/**'
call-admin:
admin:
needs: change-detect
if: steps.filter.outputs.admin == 'true'
if: needs.change-detect.outputs.admin == 'true'
uses: ./.github/workflows/admin.workflow.yml

call-auth:
auth:
needs: change-detect
if: steps.filter.outputs.auth == 'true'
if: needs.change-detect.outputs.auth == 'true'
uses: ./.github/workflows/auth.workflow.yml

call-gbajs3:
gbajs3:
needs: change-detect
if: steps.filter.outputs.gbajs3 == 'true'
if: needs.change-detect.outputs.gbajs3 == 'true'
uses: ./.github/workflows/gbajs3.workflow.yml

0 comments on commit f8c705c

Please sign in to comment.