File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ jobs:
162
162
set -euo pipefail
163
163
# build if the workflow is manually triggered and the deployment doesn't exist (first build or force rebuild)
164
164
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 deployment alreday exist and there are changes in the files that we care about (automatic updates)
165
+ # build if the deployment already exist and there are changes in the files that we care about (automatic updates)
166
166
echo "automatic_rebuild=${{ steps.check_deployment.outputs.NEW == 'false' && steps.filter.outputs.all_count > steps.filter.outputs.ignored_count }}" >> $GITHUB_OUTPUT
167
167
168
168
comment-pr :
@@ -208,7 +208,7 @@ jobs:
208
208
permissions :
209
209
# Necessary to push docker images to ghcr.io.
210
210
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 docs chnages .
211
+ # This concurrency only cancels build jobs if a new build is triggred. It will avoid cancelling the current deployemtn in case of docs changes .
212
212
concurrency :
213
213
group : build-${{ github.workflow }}-${{ github.ref }}-${{ needs.get_info.outputs.BUILD }}
214
214
cancel-in-progress : true
@@ -265,6 +265,8 @@ jobs:
265
265
always() && (needs.build.result == 'success' || needs.build.result == 'skipped') &&
266
266
(needs.get_info.outputs.BUILD == 'true' || github.event.inputs.deploy == 'true')
267
267
runs-on : " ubuntu-latest"
268
+ permissions :
269
+ pull-requests : write # needed for commenting on PRs
268
270
env :
269
271
CODER_IMAGE_TAG : ${{ needs.get_info.outputs.CODER_IMAGE_TAG }}
270
272
PR_NUMBER : ${{ needs.get_info.outputs.PR_NUMBER }}
You can’t perform that action at this time.
0 commit comments