Skip to content

Instantly share code, notes, and snippets.

View mmorel-35's full-sized avatar

Matthieu MOREL mmorel-35

View GitHub Profile
DOCKER_DIRS := $(shell find . -type f -name "Dockerfile" -exec dirname {} \; | sort -u | egrep '^./' )
GOMOD_DIRS := $(shell find . -type f -name "go.mod" -exec dirname {} \; | sort -u | egrep '^./' )
NPM_DIRS := $(shell find . -type f -name "package.json" -exec dirname {} \; | sort -u | egrep '^./' )
DEPENDABOT_PATH=".github/dependabot.yml"
# This target should run on /bin/bash since the syntax DIR=$${dir:1} is not supported by /bin/sh.
.PHONY: generate/dependabot
name: Update dist
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.JS 12
name: Licensed cache
on:
push:
branches:
- main
paths:
- package-lock.json
workflow_dispatch:
name: Licensed status
on:
push:
branches:
- main
pull_request:
branches:
- main