diff --git a/.gitattributes b/.gitattributes index 310a7be..96dcc1c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,6 +7,7 @@ /composer.lock export-ignore /context7.json export-ignore /demo export-ignore +/docker export-ignore /fixtures export-ignore /phpstan.neon export-ignore /phpunit.xml export-ignore diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 30268df..7993683 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -61,9 +61,9 @@ A workflow uses zizmor to audit the workflows and the Dependabot configuration i actionlint to check the workflows. Run both when you change anything there: ```sh -docker build --quiet --tag zizmor .github/docker/zizmor +docker build --quiet --tag zizmor docker/zizmor docker run --rm --volume "$PWD:/src:ro" --workdir /src zizmor --offline .github -docker build --quiet --tag actionlint .github/docker/actionlint +docker build --quiet --tag actionlint docker/actionlint docker run --rm --volume "$PWD:/src:ro" --workdir /src actionlint -no-color ``` diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 27bbe0b..ad5baad 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -17,8 +17,8 @@ updates: - package-ecosystem: docker directories: - /demo - - /.github/docker/actionlint - - /.github/docker/zizmor + - /docker/actionlint + - /docker/zizmor schedule: interval: monthly cooldown: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ae521bb..edae2cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ on: permissions: contents: read -# Dependabot updates the actions and the images of `.github/docker` and `demo`. Composer, pinned by +# Dependabot updates the actions and the images of `docker` and `demo`. Composer, pinned by # digest in `tools`, is updated by hand, to the version of the Composer image in `demo`. concurrency: @@ -177,10 +177,10 @@ jobs: - name: Audit run: | - docker build --quiet --tag zizmor .github/docker/zizmor + docker build --quiet --tag zizmor docker/zizmor docker run --rm --volume "$PWD:/src:ro" --workdir /src zizmor --offline .github - name: Lint run: | - docker build --quiet --tag actionlint .github/docker/actionlint + docker build --quiet --tag actionlint docker/actionlint docker run --rm --volume "$PWD:/src:ro" --workdir /src actionlint -no-color diff --git a/.github/docker/actionlint/Dockerfile b/docker/actionlint/Dockerfile similarity index 100% rename from .github/docker/actionlint/Dockerfile rename to docker/actionlint/Dockerfile diff --git a/.github/docker/zizmor/Dockerfile b/docker/zizmor/Dockerfile similarity index 100% rename from .github/docker/zizmor/Dockerfile rename to docker/zizmor/Dockerfile