number #1103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")' |