Add a dynamic security workflow and a SECURITY.md file #350
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
standardrb: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
checks: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: StandardRB Linter | |
uses: testdouble/standard-ruby-action@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
stylelint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JS | |
uses: actions/setup-node@v4 | |
with: | |
cache: yarn | |
- name: Install JS dependencies | |
run: yarn install | |
- name: Run Stylelint | |
run: yarn run lint:css |