File: isaacs-makework.yml

package info (click to toggle)
node-stack-utils 2.0.6%2B~2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 568 kB
  • sloc: javascript: 1,073; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download | duplicates (48)
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
33
34
35
36
37
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/setup-node@v2.1.4
        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 \
            "package-json-repo-bot@example.com" \
            "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 \
            "license-year-bot@example.com" \
            "License Year Bot" \
            "chore: add copyright year to license" \
            LICENSE*