Skip to content

Commit

Permalink
fix(github-actions): support renamed repos by allowing redirects (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
imbdb authored Sep 10, 2021
1 parent 33cfa5f commit 3dd5037
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/github-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ async function createSecret(info) {
encrypted_value: encryptedValue, // eslint-disable-line camelcase
key_id: keyId, // eslint-disable-line camelcase
},
followAllRedirects: true,
});

if (responsePut.statusCode !== 201 && responsePut.statusCode !== 204) {
Expand Down

0 comments on commit 3dd5037

Please sign in to comment.