Skip to content

Commit afd0d59

Browse files
committed
updates
1 parent 72bacfe commit afd0d59

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

components/circleci/actions/rerun-workflow/rerun-workflow.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default {
6666
workflowId: this.workflowId,
6767
data: {
6868
enable_ssh: this.enableSsh,
69-
from_failed: this.from_failed,
69+
from_failed: this.fromFailed,
7070
jobs: typeof this.jobIds === "string"
7171
? JSON.parse(this.jobIds)
7272
: this.jobIds,

components/circleci/sources/common/base.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ export default {
6363
verifySignature({
6464
headers, body,
6565
}) {
66+
if (!headers["circleci-signature"]) {
67+
return false;
68+
}
6669
const secret = this._getSigningSecret();
6770
const signatureFromHeader = headers["circleci-signature"]
6871
.split(",")

0 commit comments

Comments
 (0)