-
Notifications
You must be signed in to change notification settings - Fork 57
32 lines (30 loc) · 1.17 KB
/
capital.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
on: [push]
name: Pas d'extension en majuscule
jobs:
build:
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: ubuntu-latest
container: rocker/verse:latest
steps:
- name: Checkout Repository
if: ${{ github.repository == 'inseefrlab/utilitr' }}
env:
GITHUB_PAT: ${{ secrets.PAT }}
uses: actions/checkout@master
- name: Checkout Repository
if: ${{ github.repository != 'inseefrlab/utilitr' }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
uses: actions/checkout@master
- name: Install utilitr library
run: Rscript -e "remotes::install_github('https://github.com/InseeFrLab/utilitr-template')"
if: ${{ github.repository == 'inseefrlab/utilitr' }}
env:
GITHUB_PAT: ${{ secrets.PAT }}
- name: Install utilitr library
run: Rscript -e "remotes::install_github('https://github.com/InseeFrLab/utilitr-template')"
if: ${{ github.repository != 'inseefrlab/utilitr' }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
- name: Détection des majuscules
run: Rscript -e 'utilitr:::upper_extension("PNG")'