We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a93f4f commit d3153c3Copy full SHA for d3153c3
.github/workflows/dispatch-release.yml
@@ -71,12 +71,14 @@ jobs:
71
version=${{github.event.inputs.release-version}}
72
branch_name=${{github.event.inputs.branch-name}}
73
74
- gh workflow run release.yml \
75
- --ref main \
76
- -f releaseVersion="$version" \
77
- -f gitReference="$branch_name"
+ owner=$(echo "$url" | cut -d/ -f4)
+ repo=$(echo "$url" | cut -d/ -f5 | sed 's/\.git$//')
78
79
- cd -
+ gh api repos/$owner/$repo/actions/workflows/release.yml/dispatches \
+ -f ref=main \
+ -f inputs[releaseVersion]="$version" \
80
+ -f inputs[gitReference]="$branch_name"
81
+
82
done <<< "${{ steps.load_repos.outputs.list }}"
83
env:
84
GH_TOKEN: ${{ steps.app-token.outputs.token }}
0 commit comments