Skip to content

Commit

Permalink
iam cleanup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sqin2019 committed Jul 19, 2023
1 parent f82b135 commit c952392
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/handle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
token_format: 'access_token'
- name: 'Install AOD CLI'
if: ${{ steps.added-yaml-files.outputs.added_files != '' }}

Check failure on line 73 in .github/workflows/handle.yml

View workflow job for this annotation

GitHub Actions / yaml_lint / yamllint

73:13 [quoted-strings] string value is not quoted with single quotes
run: 'go install github.com/abcxyz/access-on-demand/cmd/aod@${{ inputs.aod_cli_version }}'
run: 'go install github.com/sqin2019/access-on-demand-fork/cmd/aod@${{ inputs.aod_cli_version }}'
# Request will not be handled when iam.yaml file does not exist in the
# case of a pull_request_review event, instead it prints out a notice.
- name: 'Handle IAM Request'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/iam_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ env:
DEFAULT_DURATION: '2h'

jobs:
handle:
cleanup:
# if: '${{ github.event.review.state == ''approved'' }}'
# Handle on merge
runs-on: 'ubuntu-latest'
permissions:
contents: 'write'
id-token: 'write'
pull-requests: 'write'
name: 'Handle Request'
name: 'Cleanup IAM Request'
steps:
- uses: 'actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab' # ratchet:actions/checkout@v3
with:
Expand All @@ -72,7 +72,7 @@ jobs:
token_format: 'access_token'
- name: 'Install AOD CLI'
if: '${{ steps.added-yaml-files.outputs.added_files != '''' }}'
run: 'go install github.com/abcxyz/access-on-demand/cmd/aod@${{ inputs.aod_cli_version }}'
run: 'go install github.com/sqin2019/access-on-demand-fork/cmd/aod@${{ inputs.aod_cli_version }}'
# Request will not be handled when iam.yaml file does not exist in the
# case of a pull_request_review event, instead it prints out a notice.
- name: 'Cleanup IAM Request'
Expand Down

0 comments on commit c952392

Please sign in to comment.