mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
fix plugin update check pr num fetching (#26066)
This commit is contained in:
committed by
GitHub
parent
fc0abf2d9f
commit
69fd338c78
6
.github/workflows/plugin-update-check.yml
vendored
6
.github/workflows/plugin-update-check.yml
vendored
@@ -67,13 +67,13 @@ jobs:
|
||||
--head "$VAULT_BRANCH" \
|
||||
--title "[DO NOT MERGE]: $PLUGIN_REPO Automated plugin update check" \
|
||||
--body "Updates $PLUGIN_REPO to verify vault CI. Full log: https://github.com/hashicorp/vault/actions/runs/$RUN_ID"
|
||||
|
||||
echo "vault_pr_num=$(gh pr list --head "$VAULT_BRANCH" --json number -q '.[0].number')" >> "$GITHUB_OUTPUT"
|
||||
echo "vault_pr_url=$(gh pr list --head "$VAULT_BRANCH" --json url -q '.[0].url')" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "Pull request already exists, won't create a new one."
|
||||
fi
|
||||
|
||||
echo "vault_pr_num=$(gh pr list --head "$VAULT_BRANCH" --json number -q '.[0].number')" >> "$GITHUB_OUTPUT"
|
||||
echo "vault_pr_url=$(gh pr list --head "$VAULT_BRANCH" --json url -q '.[0].url')" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Add labels to Vault CI check PR
|
||||
if: steps.changes.outputs.count > 0
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user