Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d2c306

Browse files
committed
fix typo
1 parent1b4d11a commit0d2c306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/traiage.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
CODER_URL:${{ secrets.TRAIAGE_CODER_URL }}
3737
CODER_SESSION_TOKEN:${{ secrets.TRAIAGE_CODER_SESSION_TOKEN }}
3838
permissions:
39-
contents:write# required for checking permissions on the repo
39+
contents:read
4040
issues:write
4141
actions:write
4242

@@ -118,7 +118,7 @@ jobs:
118118
GITHUB_USER_ID:${{ steps.determine-inputs.outputs.github_user_id }}
119119
run:|
120120
# Query the actor’s permission on this repo
121-
can_push="$(gh api "/repos/${GITHUB_REPOSITORY}/collaborators/${GITHUB_USERNAME}/permission" --jq '.user.permission.push')"
121+
can_push="$(gh api "/repos/${GITHUB_REPOSITORY}/collaborators/${GITHUB_USERNAME}/permission" --jq '.user.permissions.push')"
122122
if [[ "${can_push}" != "true" ]]; then
123123
echo "::error title=Access Denied::${GITHUB_USERNAME} does not have push access to ${GITHUB_REPOSITORY}"
124124
exit 1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp