Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 75ba257

Browse files
Being able to trigger the adf trigger from workflow (#1379)
1 parent 470d9c3 commit 75ba257

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/js-api-build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ on:
99
branches:
1010
- develop
1111
schedule:
12-
- cron: '0 3 * * *' # nightly
12+
- cron: '0 3 * * *' # At 03:00 AM nightly every day
13+
# Allows to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
1316
env:
1417
GITHUB_REPO_SLUG: ${{ github.repository }}
1518
GITHUB_BRANCH: ${{ github.ref }}
@@ -111,7 +114,8 @@ jobs:
111114
112115
- name: Trigger ADF alpha
113116
shell: bash
114-
if: github.event.schedule == '0 3 * * *'
117+
if: github.event.schedule == '0 3 * * *' || github.event_name == 'workflow_dispatch'
118+
115119
run: |
116120
git config --global user.email ${{ secrets.BOT_GITHUB_EMAIL }}
117121
git config --global user.name ${{ secrets.BOT_GITHUB_USERNAME }}

0 commit comments

Comments
 (0)