7
0
mirror of https://github.com/marado/RNID.git synced 2024-09-19 16:35:24 +00:00

Merge pull request #1 from tcarrondo/add-github-actions-auto-scripts

Add GitHub actions auto scripts
This commit is contained in:
Tiago Carrondo 2021-10-24 16:57:34 +01:00 committed by GitHub
commit 215962973e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 1 deletions

31
.github/workflows/scripts.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: Run validation scripts
on:
schedule:
# Every day at 1:00 (AM) UTC
- cron: '*/5 * * * *'
jobs:
run-validation-scripts:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Run validation scripts
run: |
sudo apt install curl git html-xml-utils wget -y
"${GITHUB_WORKSPACE}/scripts/01-parlamento.sh"
- name: Commit file(s)
run: |
git config --local user.email "<>"
git config --local user.name "GitHub Actions"
git add ./README.md
git commit -m "Update de $(date +"%Y-%m-%d")"
- name: Push changes # push the output folder to your repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true

View File

@ -8,7 +8,7 @@ Esta tabela mostra casos de incumprimento do regulamento:
| Sítio Web | Incumprimento | Exemplo | Última avaliação | Pedido de Resolução |
|---|---|---|---|---|
| www.parlamento.pt | Vídeos disponibilizados em WMV | [vídeo de audição](http://www.parlamento.pt/ActividadeParlamentar/Paginas/DetalheAudiencia.aspx?BID=99371) | 2021/10/24 | 2015/03/25 |
| www.parlamento.pt | Vídeos disponibilizados em WMV | [vídeo de audição](http://www.parlamento.pt/ActividadeParlamentar/Paginas/DetalheAudiencia.aspx?BID=99371) | 2021/10/33 | 2015/03/25 |
| www.dgae.min-economia.pt | Microsoft Office | [página com formulários OOXML](http://www.dgae.gov.pt/documentacao-/formularios.aspx) | 2021/10/24 | 2015/03/25 |
| http://www.iefp.pt | Acessibilidade | [site não cumpre WCAG 2.0 AA](http://www.iefp.pt) | 2021/10/24 | 2016/01/05 |
| www.portugal.gov.pt | Acessibilidade | [site não cumpre WCAG 2.0 A](http://www.portugal.gov.pt) | 2021/10/24 | 2019/08/13 |