Skip to content

Commit

Permalink
[contributors-action] altera gatilho da GH Action + ajustes no Docker…
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
nkzren committed Oct 6, 2023
1 parent 89ee405 commit 77271c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/actions/okfn-contributors/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM node:20
LABEL mantainer="nkzren"
WORKDIR /opt/contributors
FROM docker.io/node:20

ENTRYPOINT [ "/opt/contributors/entrypoint.sh" ]
WORKDIR /opt/contributors

COPY package.json yarn.lock ./
RUN yarn global add all-contributors-cli@6.26.1

COPY entrypoint.sh entrypoint.sh

ENTRYPOINT [ "/opt/contributors/entrypoint.sh" ]
4 changes: 2 additions & 2 deletions .github/workflows/update-contributors.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
workflow_dispatch:
push:
branches: ["main"]
schedule:
- cron: '0 0 * * 0'

jobs:
update-contributors:
Expand Down

0 comments on commit 77271c9

Please sign in to comment.