forked from errbit/errbit
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.03 KB
/
herb.yml
File metadata and controls
44 lines (37 loc) · 1.03 KB
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
38
39
40
41
42
43
44
name: Herb
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: {}
schedule:
- cron: "0 21 * * 6"
permissions:
contents: read
jobs:
run:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Harden Runner
uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
with:
disable-sudo-and-containers: true
egress-policy: block
allowed-endpoints: >
github.com:443
index.rubygems.org:443
objects.githubusercontent.com:443
release-assets.githubusercontent.com:443
rubygems.org:443
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@09a7688d3b55cf0e976497ff046b70949eeaccfd # v1.288.0
with:
rubygems: "latest"
bundler: "latest"
bundler-cache: true
- run: bin/herb analyze app/views --non-interactive --no-log-file