-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (39 loc) · 1.13 KB
/
repolinter-apply.yml
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
name: Apply Repolinter
on:
push:
branches:
- main
schedule:
- cron: '24 21 * * *'
workflow_dispatch:
jobs:
apply-repolinter:
name: Apply Repolinter (${{ matrix.repo }})
strategy:
fail-fast: false
matrix:
include:
# Edit here to add other repositories
- repo: newrelic/release-toolkit
config: https://raw.githubusercontent.com/newrelic/.github/main/repolinter-rulesets/new-relic-experimental.yml
runs-on: ubuntu-latest
steps:
- name: Checkout Self
uses: actions/checkout@v4
with:
path: ./repo
- name: Checkout ${{ matrix.repo }}
uses: actions/checkout@v4
with:
path: ./apply
repository: ${{ matrix.repo }}
token: ${{ secrets.REPOLINTER_TOKEN }}
- name: Run Repolinter
uses: newrelic/repolinter-action@v1
with:
directory: ${{ github.workspace }}/apply
config_url: ${{ matrix.config }}
output_type: issue
username: nr-opensource-bot
repository: ${{ matrix.repo }}
token: ${{ secrets.REPOLINTER_TOKEN }}