From 19ee8f42ea83a9cf9946d8bc95d960322659e54f Mon Sep 17 00:00:00 2001 From: nkzren Date: Fri, 6 Oct 2023 18:06:00 -0300 Subject: [PATCH] [contributors-action] altera gatilho da GH Action + ajustes no Dockerfile --- .github/actions/okfn-contributors/Dockerfile | 4 ++-- .github/workflows/update-contributors.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/okfn-contributors/Dockerfile b/.github/actions/okfn-contributors/Dockerfile index 58c74fa2..cbe01193 100644 --- a/.github/actions/okfn-contributors/Dockerfile +++ b/.github/actions/okfn-contributors/Dockerfile @@ -1,5 +1,5 @@ -FROM node:20 -LABEL mantainer="nkzren" +FROM docker.io/node:20 + WORKDIR /opt/contributors ENTRYPOINT [ "/opt/contributors/entrypoint.sh" ] diff --git a/.github/workflows/update-contributors.yaml b/.github/workflows/update-contributors.yaml index ea04e2e9..d7b6682e 100644 --- a/.github/workflows/update-contributors.yaml +++ b/.github/workflows/update-contributors.yaml @@ -1,7 +1,7 @@ on: workflow_dispatch: - push: - branches: ["main"] + schedule: + - cron: '0 0 * * 0' jobs: update-contributors: