fix(ci): allow trusted sync workflow_run in EdgeOne deploy
This commit is contained in:
1 parent
99cd258c8b
commit
0223995dab
1 file changed
+1
-1
@@ -20,7 +20,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
deployments: write
|
deployments: write
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository) }}
|
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && (github.event.workflow_run.event == 'push' || github.event.workflow_run.event == 'workflow_run' || github.event.workflow_run.event == 'workflow_dispatch') && github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.head_repository.full_name == github.repository) }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout pages branch
|
- name: Checkout pages branch
|
||||||
|
|||||||
Reference in new issue
Block a user