File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,16 @@ jobs:
2727 # Check if the actor is in the allowed list
2828 if [[ ! " ${allowed_users_array[@]} " =~ " ${actor} " ]]; then
2929 echo "User ${actor} is not authorized to run this workflow."
30- echo "::set-output name= is_authorized:: false" # Set output to false
30+ echo "is_authorized= false" >> $GITHUB_ENV # Set output to false
3131 else
3232 echo "User ${actor} is authorized to run the workflow."
33- echo "::set-output name= is_authorized:: true" # Set output to true
33+ echo "is_authorized= true" >> $GITHUB_ENV # Set output to true
3434 fi
3535 acceptance-test :
3636 needs : check-permissions
3737 runs-on : ubuntu-latest
3838 if : ${{ needs.check-permissions.outputs.is_authorized == 'true' && github.repository == 'powervs-ibm/terraform-provider-ibm' }}
3939
40-
4140 steps :
4241 # Step 1: Checkout code
4342 - name : Checkout code
You can’t perform that action at this time.
0 commit comments