Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sqin2019 committed Jul 14, 2023
1 parent ee0cea1 commit 0829048
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/handle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ jobs:
START_TIME: '${{ github.event.review.submitted_at }}'
run: |
DURATION=$(awk -F_ '{print $2}' <<< $IAM_FILE_PATH)
if [ -f "requests/iam.yaml" ]; then
aod iam handle -path $IAM_FILE_PATH -duration $DURATION -start-time $START_TIME
else
echo "::notice title=IAM Request Handle::Skip because iam.yaml is not found"
fi
aod iam handle -path $IAM_FILE_PATH -duration $DURATION -start-time $START_TIME
# Request will not be handled when tool.yaml file does not exist in the
# case of a pull_request_review event, instead it prints out a notice.
- name: 'Handle CLI Request'
Expand Down

0 comments on commit 0829048

Please sign in to comment.