diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 73c265c..fd31e71 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,40 +3,40 @@ version: 2 updates: # Track PSR new releases automatically - - package-ecosystem: "pip" - directory: "/" + - package-ecosystem: pip + directory: src/ schedule: - interval: "daily" + interval: daily commit-message: - prefix: "build" - include: "scope" + prefix: build + include: scope labels: - dependencies - dependabot rebase-strategy: auto - versioning-strategy: "increase-if-necessary" + versioning-strategy: increase-if-necessary # Maintain dependencies for Docker (ie our GitHub Action) - - package-ecosystem: "docker" - directory: "/" + - package-ecosystem: docker + directory: src/ schedule: - interval: "monthly" + interval: monthly labels: - dependencies - dependabot rebase-strategy: auto commit-message: - prefix: "build" - include: "scope" # (deps) + prefix: build + include: scope # (deps) - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: github-actions + directory: / schedule: - interval: "weekly" - day: "monday" + interval: weekly + day: monday time: "18:00" commit-message: - prefix: "ci" + prefix: ci labels: - dependencies - dependabot diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 26a50b7..1a29c02 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -44,7 +44,7 @@ jobs: id: container-builder uses: docker/build-push-action@v5 with: - context: . + context: ./src load: true # add to `docker images` push: false platforms: linux/amd64 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 46bb22c..dfd3437 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -15,7 +15,7 @@ Building the Action Environment .. code:: bash - docker build -t psr-publish-action:latest . + docker build -t psr-publish-action:latest ./src Local Testing ------------- diff --git a/action.yml b/action.yml index 835ccf6..6d1c613 100644 --- a/action.yml +++ b/action.yml @@ -36,4 +36,4 @@ inputs: runs: using: docker - image: Dockerfile + image: src/Dockerfile diff --git a/.dockerignore b/src/.dockerignore similarity index 100% rename from .dockerignore rename to src/.dockerignore diff --git a/Dockerfile b/src/Dockerfile similarity index 100% rename from Dockerfile rename to src/Dockerfile diff --git a/action.sh b/src/action.sh similarity index 100% rename from action.sh rename to src/action.sh diff --git a/requirements.txt b/src/requirements.txt similarity index 100% rename from requirements.txt rename to src/requirements.txt