From f53e71ff22757bc39c1c6f3dae160e4da225acc1 Mon Sep 17 00:00:00 2001 From: odysseu <55583423+odysseu@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:58:33 +0200 Subject: [PATCH 1/3] Create dependabot.yml --- .github/dependabot.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..4fcd10a1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +# See the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" From 4db87a8792f29de824deb86b92a72e889275bae4 Mon Sep 17 00:00:00 2001 From: odysseu <55583423+odysseu@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:04:31 +0200 Subject: [PATCH 2/3] use pip as package-ecosystem --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4fcd10a1..de750ce2 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ version: 2 updates: - - package-ecosystem: "" # See documentation for possible values + - package-ecosystem: "pip" # See documentation for possible values directory: "/" # Location of package manifests schedule: interval: "weekly" From bbd91467e7ce1daceb65f14465b51d43ada950a4 Mon Sep 17 00:00:00 2001 From: odysseu <55583423+odysseu@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:44:17 +0200 Subject: [PATCH 3/3] do not publish to netlify on dev mode --- .github/workflows/dev.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index d4ca110b..15a0b33d 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -30,16 +30,4 @@ jobs: if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} uses: actions/setup-node@v2 with: - node-version: '14' - - name: Deploy to Netlify - if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} - # NETLIFY_AUTH_TOKEN and NETLIFY_SITE_ID added in the repo's secrets - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - BRANCHE_REF: ${{ github.event.pull_request.head.ref }} - run: | - npm init -y - npm install --unsafe-perm=true netlify-cli -g - netlify init - netlify deploy --alias=${BRANCHE_REF} --dir="_site" --message "Preview deploy from ${BRANCHE_REF}" + node-version: '14'