-
Notifications
You must be signed in to change notification settings - Fork 81
35 lines (32 loc) · 1.17 KB
/
check_process.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
name: Check Proposals in pull requests
on:
pull_request:
jobs:
check-proposal:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Get all proposals files that have changed
id: changed-proposals
uses: tj-actions/changed-files@v44
with:
files: |
**/*.adoc
files_ignore: |
_*/**
index.adoc
design-doc-template.adoc
- name: Check files that have changed
if: steps.changed-proposals.outputs.any_changed == 'true'
env:
PROPOSAL_FILES: ${{ steps.changed-proposals.outputs.all_changed_files }}
run: |
echo "Check all proposals files that have changed: $PROPOSAL_FILES"
./.scripts/check_proposals $PROPOSAL_FILES