Skip to content

Commit 5c0fa24

Browse files
committed
chore: manually trigger github workflows on automated pr
1 parent 567bed9 commit 5c0fa24

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.github/workflows/check-project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Check project
22
on:
3+
workflow_dispatch:
34
push:
45
branches:
56
- main

.github/workflows/upgrade-template-deps.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
workflow_dispatch:
77

88
permissions:
9+
actions: write
910
contents: write
1011
pull-requests: write
1112

@@ -50,5 +51,11 @@ jobs:
5051
--body "Automated upgrade of template dependencies via \`scripts/upgrade-template-deps.mts\`." \
5152
--label "dependencies"
5253
fi
54+
55+
# Workflows triggered by github.token don't run on the pushed branch,
56+
# so dispatch the required validation workflows explicitly.
57+
for workflow in check-project.yml build-templates.yml; do
58+
gh workflow run "$workflow" --ref "$branch"
59+
done
5360
env:
5461
GH_TOKEN: ${{ github.token }}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const FALLBACK_BOB_VERSION = '0.40.13';
2-
export const FALLBACK_NITRO_MODULES_VERSION = '0.29.8';
1+
export const FALLBACK_BOB_VERSION = '0.40.18';
2+
export const FALLBACK_NITRO_MODULES_VERSION = '0.35.2';
33
export const SUPPORTED_MONOREPO_CONFIG_VERSION = '0.3.3';
44
export const SUPPORTED_REACT_NATIVE_VERSION = '0.83.0';
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import type { HybridObject } from 'react-native-nitro-modules';
22

3-
export interface <%- project.name %>
4-
extends HybridObject<{ ios: 'swift'; android: 'kotlin' }> {
3+
export interface <%- project.name %> extends HybridObject<{
4+
ios: 'swift';
5+
android: 'kotlin'
6+
}> {
57
multiply(a: number, b: number): number;
68
}

0 commit comments

Comments
 (0)