Skip to content

Commit

Permalink
Edit submission workflow -> edit step return
Browse files Browse the repository at this point in the history
  • Loading branch information
nthouliss committed Sep 20, 2023
1 parent 5507f9c commit 587bc92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/submit-verification-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
script: |
const body = context.payload.comment.body
console.log(body)
return body
- uses: actions/checkout@v3
- name: Install Packages
run: yarn --cwd ./scripts install --frozen-lockfile
Expand Down
1 change: 1 addition & 0 deletions scripts/verify/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function createDiscordVerificationPost(id, data) {
export async function sendDiscordWebhook(value) {
const values = value.split(" ");
if (values.length !== 2) {
console.log(values);
throw Error("invalid submission");
}

Expand Down

0 comments on commit 587bc92

Please sign in to comment.