File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818#
1919
2020# Workflow to be called from ASF project repository workflows to check
21- # whether the GitHub actions references in GitHub workflows (`.github/workflows`) and
21+ # whether the GitHub actions referenced in GitHub workflows (`.github/workflows`) and
2222# composite actions (`.github/actions`) are approved.
2323#
2424# The README.md of ASF Infrastructure Actions repository https://github.com/apache/infrastructure-actions
8383 - run : pip install ruyaml
8484
8585 - name : Check allowed actions usage
86- working-directory : infrastructure-actions
86+ working-directory : infrastructure-actions/gateway
8787 shell : python
8888 run : |
89- import sys
90- sys.path.append("./gateway/")
91-
89+ import gateway as g
9290 import check_repository_actions as c
93- c.check_project_actions('../repository', '../infrastructure-actions/approved_patterns.yml')
91+ c.check_project_actions('../../ repository', '../ ../infrastructure-actions/approved_patterns.yml')
You can’t perform that action at this time.
0 commit comments