We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7be5a5b commit 915863eCopy full SHA for 915863e
.github/workflows/documentation.yaml
@@ -1,5 +1,10 @@
1
on: pull_request
2
+
3
name: Review
4
5
+env:
6
+ COMPOSE_USER: root
7
8
jobs:
9
check-github-actions-documentation:
10
runs-on: ubuntu-latest
Taskfile.yml
@@ -52,7 +52,7 @@ tasks:
52
if [[ $(head --lines=1 "$f") =~ "^# " ]]; then
53
# … replace the header.
54
# This is done by deleting all lines from the top of the file to a blank line.
55
- docker run --rm --volume=$PWD:/app itkdev/php8.3-fpm:latest sed -i '1,/^$/d' "$f"
+ docker run --rm --volume=$PWD:/app --user ${COMPOSE_USER:-deploy} itkdev/php8.3-fpm:latest sed -i '1,/^$/d' "$f"
56
fi
57
58
# Write header and file into temporary file.
0 commit comments