Améliorer la compréhension du fonctionnement des notifications par email #29
Annotations
1 error and 2 warnings
Run octokit/[email protected]
[@octokit/auth-action] `GITHUB_TOKEN` variable is not set. It must be set on either `env:` or `with:`. See https://github.com/octokit/auth-action.js#createactionauth
|
Run octokit/[email protected]
Unexpected input(s) 'headers', 'team', valid inputs are ['query', 'mediaType', 'variables']
|
Run # Fetch requested reviewers, and people who are on the team
Encountered an error when evaluating display name ${{ format('# Fetch requested reviewers, and people who are on the team
echo ''{0}'' | tee /tmp/team_members.json
echo ''{1}'' | tee /tmp/reviewers.json
jq --raw-output .[] < /tmp/team_members.json | sort | tee /tmp/team_members.txt
jq --raw-output .[] < /tmp/reviewers.json | sort | tee /tmp/reviewers.txt
# Fetch requested team reviewers, and the name of the team
echo ''{2}'' | tee /tmp/team_reviewers.json
jq --raw-output .[] < /tmp/team_reviewers.json | sort | tee /tmp/team_reviewers.txt
echo ''{3}'' | tee /tmp/team.txt
# If either a reviewer matches a team member, or a team matches our team, say "true"
if [ $(join /tmp/team_members.txt /tmp/reviewers.txt | wc -l) != 0 ]; then
echo "::set-output name=match::true"
elif [ $(join /tmp/team.txt /tmp/team_reviewers.txt | wc -l) != 0 ]; then
echo "::set-output name=match::true"
else
echo "::set-output name=match::false"
fi
', tojson(fromjson(steps.find_team_members.outputs.data).organization.team.members.nodes[*].login), tojson(github.event.pull_request.requested_reviewers[*].login), tojson(github.event.pull_request.requested_teams[*].slug), env.TEAM) }}. The template is not valid. .github/workflows/triage-review-requests.yml (Line: 99, Col: 14): Error reading JToken from JsonReader. Path '', line 0, position 0.
|
Loading