Skip to content

Commit c97b303

Browse files
committed
move a bit
1 parent fb2c993 commit c97b303

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/check-project-actions.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
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
@@ -83,11 +83,9 @@ jobs:
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')

0 commit comments

Comments
 (0)