We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
update-plugins-repo-refs.yaml
1 parent d1ec550 commit c0492cdCopy full SHA for c0492cd
1 file changed
.github/workflows/update-plugins-repo-refs.yaml
@@ -231,8 +231,17 @@ jobs:
231
steps:
232
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
233
id: collect
234
+ env:
235
+ INPUT_PR_TO_UPDATE: ${{ inputs.pr-to-update }}
236
with:
237
script: |
238
+ const prToUpdate = core.getInput('pr_to_update');
239
+ if (prToUpdate) {
240
+ const numbers = [Number(prToUpdate)];
241
+ core.setOutput('pr-numbers', JSON.stringify(numbers));
242
+ core.info(`Using specified PR for auto-publish: ${numbers}`);
243
+ return;
244
+ }
245
const run = await github.rest.actions.getWorkflowRun({
246
owner: context.repo.owner,
247
repo: context.repo.repo,
0 commit comments