fharper / gh-configs

Common configurations for some GitHub Actions I'm using in multiple projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gh-configs

Common configurations for some GitHub Actions I'm using in multiple projects:

It prevents me from having to update all repositories when I change something that should apply to all my repositories (i.e: add a link pattern to ignore when linting Markdown links or enforce a specific rule for Markdown linting).

I could have sync the files to other repositories when modified versions are pushed to this one, but I want to prevent modifying the configurations directly in a specific repository by mistake, or having an external contributor submitting a change.

How to use

In the GitHub Actions using one of the configuration file, I'm using the wget GitHub Action as a step to download the configuration file as follow:

- name: Download .markdownlint.json
  uses: suisei-cn/actions-download-file@v1.4.0
  with:
    url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.markdownlint.json"

About

Common configurations for some GitHub Actions I'm using in multiple projects

License:The Unlicense


Languages

Language:JavaScript 50.5%Language:HCL 49.5%