File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 image : " ghcr.io/rust-gpu/rust-cuda-rockylinux9-cuda12:latest"
4141 outputs :
4242 # Output the result of the permission check
43- actor_has_write_permission : ${{ steps.permission_check .outputs.has-permission }}
43+ actor_has_write_permission : ${{ steps.check_access .outputs.require-result }}
4444 # Output the buile artifact details so the test job can use them
4545 artifact_name : ${{ steps.artifact_details.outputs.name }}
4646 artifact_path : ${{ steps.artifact_details.outputs.path }}
@@ -49,11 +49,12 @@ jobs:
4949 - name : Checkout repository
5050 uses : actions/checkout@v4
5151
52- - name : Check if triggering actor has write permission
53- id : permission_check
54- uses : scherermichael-oss/action-has -permission@17f29510f1bf987b916c8cbb451566a56eed23f1
52+ - name : Check access permissions
53+ id : check_access
54+ uses : actions-cool/check-user -permission@v2
5555 with :
56- required-permission : write
56+ require : write
57+ username : ${{ github.triggering_actor }}
5758 env :
5859 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5960
You can’t perform that action at this time.
0 commit comments