Skip to content

don't fail make clean if already clean #9

don't fail make clean if already clean

don't fail make clean if already clean #9

name: "various tidying up tasks to silence nagging"
on:
push:
branches:
- main
workflow_dispatch:
jobs:
makework:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 16.x
- name: put repo in package.json
run: node .github/workflows/package-json-repo.js
- name: check in package.json if modified
run: |
bash -x .github/workflows/commit-if-modified.sh \
"[email protected]" \
"package.json Repo Bot" \
"chore: add repo to package.json" \
package.json package-lock.json
- name: put all dates in license copyright line
run: bash .github/workflows/copyright-year.sh
- name: check in licenses if modified
run: |
bash .github/workflows/commit-if-modified.sh \
"[email protected]" \
"License Year Bot" \
"chore: add copyright year to license" \
LICENSE*