File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
actions/instrument/deploy Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ jobs:
182
182
actions : write
183
183
pull-requests : write
184
184
steps :
185
- - uses : plengauer/opentelemetry-github/actions/instrument/deploy@v5.16.4
185
+ - uses : plengauer/opentelemetry-github/actions/instrument/deploy@v5.16.5
186
186
env :
187
187
OTEL_EXPORTER_OTLP_ENDPOINT : ' ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}'
188
188
OTEL_EXPORTER_OTLP_HEADERS : ' ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}'
Original file line number Diff line number Diff line change 1
- 5.16.4
1
+ 5.16.5
Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ runs:
110
110
(ls "${{ inputs.workflows_directory }}"/*.yaml "${{ inputs.workflows_directory }}"/*.yml 2> /dev/null || true) | while read -r workflow_file; do
111
111
cat "$workflow_file" | yq '.jobs | keys[]' | while read -r job_name; do
112
112
cat "$workflow_file" | yq ".jobs.$job_name.steps" | grep -qvF null || continue
113
- if [ cat "$workflow_file" | yq ".jobs.$job_name.permissions" != null ] && [ "$(cat "$workflow_file" | yq ".jobs.$job_name.permissions.actions")" != read ] && [ "$(cat "$workflow_file" | yq ".jobs.$job_name.permissions.actions")" != write ]; then
113
+ if [ "$( cat "$workflow_file" | yq ".jobs.$job_name.permissions") " != null ] && [ "$(cat "$workflow_file" | yq ".jobs.$job_name.permissions.actions")" != read ] && [ "$(cat "$workflow_file" | yq ".jobs.$job_name.permissions.actions")" != write ]; then
114
114
yq -i ".jobs.$job_name.permissions.actions = \"read\"" "$workflow_file"
115
- elif [ cat "$workflow_file" | yq ".permissions" != null ] && [ "$(cat "$workflow_file" | yq ".permissions.actions")" != read ] && [ "$(cat "$workflow_file" | yq ".permissions.actions")" != write ]; then
115
+ elif [ "$( cat "$workflow_file" | yq ".permissions") " != null ] && [ "$(cat "$workflow_file" | yq ".permissions.actions")" != read ] && [ "$(cat "$workflow_file" | yq ".permissions.actions")" != write ]; then
116
116
yq -i ".permissions.actions = \"read\"" "$workflow_file"
117
117
else
118
118
yq -i ".jobs.$job_name.permissions.actions = \"read\"" "$workflow_file"
You can’t perform that action at this time.
0 commit comments