Skip to content

Commit f2a459e

Browse files
committed
fix workflow
1 parent 272fed1 commit f2a459e

6 files changed

Lines changed: 12 additions & 12 deletions

.github/workflows/reusable_build_and_test_autosd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v6.0.2
3939
- name: download known_good.updated.json artifact
40-
if: github.event_name == 'workflow_dispatch'
40+
if: github.event_name == 'workflow_call'
4141
uses: actions/download-artifact@v4
4242
with:
4343
name: known_good.updated.json
4444
- name: update MODULE.bazel files
45-
if: github.event_name == 'workflow_dispatch'
45+
if: github.event_name == 'workflow_call'
4646
run: |
4747
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
4848
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common

.github/workflows/reusable_build_and_test_ebclfsa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
- name: Checkout repository
3737
uses: actions/checkout@v6.0.2
3838
- name: download known_good.updated.json artifact
39-
if: github.event_name == 'workflow_dispatch'
39+
if: github.event_name == 'workflow_call'
4040
uses: actions/download-artifact@v4
4141
with:
4242
name: known_good.updated.json
4343
- name: update MODULE.bazel files
44-
if: github.event_name == 'workflow_dispatch'
44+
if: github.event_name == 'workflow_call'
4545
run: |
4646
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
4747
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common

.github/workflows/reusable_build_and_test_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
- name: Checkout repository
3535
uses: actions/checkout@v6.0.2
3636
- name: download known_good.updated.json artifact
37-
if: github.event_name == 'workflow_dispatch'
37+
if: github.event_name == 'workflow_call'
3838
uses: actions/download-artifact@v4
3939
with:
4040
name: known_good.updated.json
4141
- name: update MODULE.bazel files
42-
if: github.event_name == 'workflow_dispatch'
42+
if: github.event_name == 'workflow_call'
4343
run: |
4444
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
4545
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common

.github/workflows/reusable_build_and_test_qnx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }}
4242
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
4343
- name: download known_good.updated.json artifact
44-
if: github.event_name == 'workflow_dispatch'
44+
if: github.event_name == 'workflow_call'
4545
uses: actions/download-artifact@v4
4646
with:
4747
name: known_good.updated.json
4848
- name: update MODULE.bazel files
49-
if: github.event_name == 'workflow_dispatch'
49+
if: github.event_name == 'workflow_call'
5050
run: |
5151
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
5252
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common

.github/workflows/reusable_test_and_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ jobs:
6767
if: ${{ github.event_name != 'pull_request_target' }}
6868
uses: actions/checkout@v6.0.2
6969
- name: download known_good.updated.json artifact
70-
if: github.event_name == 'workflow_dispatch'
70+
if: github.event_name == 'workflow_call'
7171
uses: actions/download-artifact@v4
7272
with:
7373
name: known_good.updated.json
7474
- name: update MODULE.bazel files
75-
if: github.event_name == 'workflow_dispatch'
75+
if: github.event_name == 'workflow_call'
7676
run: |
7777
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
7878
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common

.github/workflows/sw-auto-update-deps-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
- name: checkout
3333
uses: actions/checkout@v6.0.2
3434
- name: download known_good.updated.json artifact
35-
if: github.event_name == 'workflow_dispatch'
35+
if: github.event_name == 'workflow_call'
3636
uses: actions/download-artifact@v4
3737
with:
3838
name: known_good.updated.json
3939
- name: update MODULE.bazel files
40-
if: github.event_name == 'workflow_dispatch'
40+
if: github.event_name == 'workflow_call'
4141
run: |
4242
echo "::group::update bazel_common/score_modules_*.MODULE.bazel"
4343
scripts/known_good/update_module_from_known_good.py --known known_good.updated.json --output-dir-modules bazel_common

0 commit comments

Comments
 (0)