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

Commit076399b

Browse files
authored
chore: correct typos and configure permissions in pr-deploy.yaml (#15372)
1 parent98e584b commit076399b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎.github/workflows/pr-deploy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
set -euo pipefail
163163
# build if the workflow is manually triggered and the deployment doesn't exist (first build or force rebuild)
164164
echo "first_or_force_build=${{ (github.event_name == 'workflow_dispatch' && steps.check_deployment.outputs.NEW == 'true') || github.event.inputs.build == 'true' }}" >> $GITHUB_OUTPUT
165-
# build if the deploymentalreday exist and there are changes in the files that we care about (automatic updates)
165+
# build if the deploymentalready exist and there are changes in the files that we care about (automatic updates)
166166
echo "automatic_rebuild=${{ steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count }}" >> $GITHUB_OUTPUT
167167
168168
comment-pr:
@@ -208,7 +208,7 @@ jobs:
208208
permissions:
209209
# Necessary to push docker images to ghcr.io.
210210
packages:write
211-
# This concurrency only cancels build jobs if a new build is triggred. It will avoid cancelling the current deployemtn in case of docschnages.
211+
# This concurrency only cancels build jobs if a new build is triggred. It will avoid cancelling the current deployemtn in case of docschanges.
212212
concurrency:
213213
group:build-${{ github.workflow }}-${{ github.ref }}-${{ needs.get_info.outputs.BUILD }}
214214
cancel-in-progress:true
@@ -265,6 +265,8 @@ jobs:
265265
always() && (needs.build.result == 'success' || needs.build.result == 'skipped') &&
266266
(needs.get_info.outputs.BUILD == 'true' || github.event.inputs.deploy == 'true')
267267
runs-on:"ubuntu-latest"
268+
permissions:
269+
pull-requests:write# needed for commenting on PRs
268270
env:
269271
CODER_IMAGE_TAG:${{ needs.get_info.outputs.CODER_IMAGE_TAG }}
270272
PR_NUMBER:${{ needs.get_info.outputs.PR_NUMBER }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp