Skip to content

Commit

Permalink
fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
raianand committed Apr 2, 2024
1 parent 07eb28d commit 49d4f65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async function run() {
const egressRulesYAML = core.getInput('egress_rules')
const trustedGithubAccountsYAML = core.getInput('trusted_github_accounts')
const trustedGithubAccounts = YAML.parse(trustedGithubAccountsYAML)
const trustedGithubAccountsString = trustedGithubAccounts.push(repoOwner).reverse().join(',')
const trustedGithubAccountsString = [repoOwner, ...trustedGithubAccounts].join(',')

// Verify that egress_rules_yaml is valid YAML
YAML.parse(egressRulesYAML)
Expand Down

0 comments on commit 49d4f65

Please sign in to comment.