Skip to content

Commit

Permalink
chore: publish dist
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Mar 23, 2020
1 parent 1056b43 commit 566043f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2124,8 +2124,9 @@ function run() {
octokit
});
/* istanbul ignore next */
if (!repos) {
core.setFailed(`Repos: No matches with "${config.REPOSITORIES.join(", ")}"`);
if (repos.length === 0) {
const repoPatternString = config.REPOSITORIES.join(", ");
core.setFailed(`Repos: No matches with "${repoPatternString}". Check your token and regex.`);
return;
}
// eslint-disable-next-line @typescript-eslint/promise-function-async
Expand Down Expand Up @@ -7421,7 +7422,7 @@ function DefaultOctokit(_a) {
return new RetryOctokit(Object.assign(Object.assign({}, defaultOptions), options));
}
exports.DefaultOctokit = DefaultOctokit;
function listAllMatchingRepos({ patterns, octokit, affiliation = "owner,collaborator", per_page = 30 }) {
function listAllMatchingRepos({ patterns, octokit, affiliation = "owner,collaborator,organization_member", per_page = 30 }) {
return __awaiter(this, void 0, void 0, function* () {
const repos = yield listAllReposForAuthenticatedUser({
octokit,
Expand Down

0 comments on commit 566043f

Please sign in to comment.