Skip to content

Commit

Permalink
Merge branch 'anaskhan28:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mizhuara authored Aug 9, 2024
2 parents 58f07fc + 063582d commit e7d0c54
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/verify-playlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- 'playlist.json'

permissions:
contents: read
issues: write
pull-requests: write
contents: write # Needed for commenting on PR
issues: write # Needed for commenting on issues
pull-requests: write # Needed for commenting on PR

jobs:
verify:
Expand Down Expand Up @@ -39,9 +39,9 @@ jobs:
echo "RESULT<<EOF" >> $GITHUB_ENV
echo "$RESULT" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
else
echo "RESULT=Verification script did not produce a result file." >> $GITHUB_ENV
fi
else
echo "RESULT=Verification script did not produce a result file." >> $GITHUB_ENV
fi
shell: /usr/bin/bash -e {0}
- name: Comment on PR
Expand All @@ -53,6 +53,7 @@ jobs:
const issueNumber = context.payload.pull_request.number;
const owner = context.repo.owner;
const repo = context.repo.repo;
console.log(`Owner: ${owner}, Repo: ${repo}, Issue Number: ${issueNumber}`);
await github.rest.issues.createComment({
owner: owner,
repo: repo,
Expand Down

0 comments on commit e7d0c54

Please sign in to comment.