Skip to content

[skip-ci] Update DESCRIPTION typo #23

[skip-ci] Update DESCRIPTION typo

[skip-ci] Update DESCRIPTION typo #23

# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, development]
paths: ['DESCRIPTION']
workflow_dispatch:
name: Write-codemeta
jobs:
write-codemeta:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install codemeta
run: Rscript -e 'install.packages("codemeta")'
- name: Write codemeta file
run: Rscript -e 'codemeta::write_codemeta()'
- name: Commit codemeta file
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
git add codemeta.json
git commit -m "Re-write codemeta.json" || echo "No changes to commit"
git push origin || echo "No changes to commit"