-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpr_validation_api-token-interceptor.yml
More file actions
39 lines (37 loc) · 1.06 KB
/
pr_validation_api-token-interceptor.yml
File metadata and controls
39 lines (37 loc) · 1.06 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
name: PR validation @ngx-toolset/api-token-interceptor
on:
pull_request:
branches:
- main
jobs:
path-filter:
name: Path filter
runs-on: ubuntu-latest
outputs:
root_changes: ${{ steps.changes.outputs.root }}
project_changes: ${{ steps.changes.outputs.project }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check for changes in path
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
root:
- '!(.eslintrc).json'
- '.gitignore'
- 'LICENSE'
project:
- 'projects/api-token-interceptor/**'
call-pr-validation-workflow:
name: Call PR validation workflow
permissions:
contents: read
pull-requests: read
needs: path-filter
if: ${{ needs.path-filter.outputs.root_changes == 'True' || needs.path-filter.outputs.project_changes == 'True' }}
uses: ./.github/workflows/pr_validation.yml
with:
PACKAGE_NAME: api-token-interceptor
secrets: inherit