Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom CI to run mutation testing completely manually by users from a given team #50

Merged
merged 13 commits into from
Aug 16, 2024
Merged
Prev Previous commit
Next Next commit
remove failure, set to false is_team_member
  • Loading branch information
ASuciuX committed Aug 16, 2024
commit b80752bcb70b797ba3c8abecdc5a3e4e03acf659
9 changes: 1 addition & 8 deletions team-membership/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getInput, setOutput, setFailed } from '@actions/core';
import { getInput, setOutput } from '@actions/core';
import { getOctokit, context } from '@actions/github';

const GITHUB_API_VERSION = '2022-11-28';
Expand Down Expand Up @@ -31,13 +31,6 @@ async function run() {
setOutput('is_team_member', isTeamMember);
} catch (error) {
setOutput('is_team_member', false);
if (error instanceof Error) {
console.error('Error:', error.message);
setFailed(error.message);
} else {
console.error('An unknown error occurred');
setFailed('An unknown error occurred');
}
}
}

Expand Down