-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Action para gerar lista de Contribuidores #184
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for querido-diario-plataforma ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Muito legal @nkzren ! Tenho alguns comentários a fazer caso a gente siga. Vamos discutindo lá na issue
19ee8f4
to
77271c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tá bem legal! Levantando mais dois pontos aqui:
name: Atualiza CONTRIBUTORS | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/okfn-contributors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reparei agora no nome do diretório da action.
O "okfn" na verdade se refere à Open Knowledge Foundation (organização internacional). Enquanto "okbr" se refere à Open Knowledge Brasil (capítulo nacional).
Pensei em pedir pra mudar para okbr-contributors
mas também vejo como opções aqui qd-contributors
, querido-diario-contributors
ou simplesmente contributors
.
O que acha?
- uses: ./.github/actions/okfn-contributors | |
- uses: ./.github/actions/contributors |
all-contributors check --config $GITHUB_WORKSPACE/.all-contributorsrc \ | ||
| sed -n '2p' \ | ||
| sed 's/, /\n/g' \ | ||
| xargs -I {} all-contributors add --config $GITHUB_WORKSPACE/.all-contributorsrc {} doc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pelo que entendi estamos adicionando todas pessoas que já tem commits no projeto mas ainda não estão no .all-contributorsrc
como doc
, certo?
Nesse caso prponho que o padrão seja code,doc
.
cc @lguima que levantou a questão lá na issue.
| xargs -I {} all-contributors add --config $GITHUB_WORKSPACE/.all-contributorsrc {} doc | |
| xargs -I {} all-contributors add --config $GITHUB_WORKSPACE/.all-contributorsrc {} code |
f1fdcd0
to
43bc5fd
Compare
7bfef5e
to
cf8f548
Compare
04ced55
to
cf8f548
Compare
78e54d4
to
0edf613
Compare
8938cef
to
39eaa56
Compare
@ogecece essa aqui tá pronta pro merge então? |
Português (BR) | English (US)
Comunidade
Tipo de alteração
Issues relacionadas
#177
Validação
Evidências
Anexe evidências do antes e do depois da alteração (quando necessário).
Documentação