[Bug]: v5.68.0 ConcurrentModification error when using aws_iam_role
with inline_policy
#9820
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Process issue_comment Events | |
on: | |
issue_comment: | |
types: [created] | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
jobs: | |
labeler: | |
name: Labeler | |
runs-on: ubuntu-latest | |
if: contains(github.event.issue.labels.*.name, 'stale') || contains(github.event.issue.labels.*.name, 'waiting-response') | |
steps: | |
- name: Checkout Community Check | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
sparse-checkout: .github/actions/community_check | |
- name: Run Community Check | |
id: community_check | |
uses: ./.github/actions/community_check | |
with: | |
user_login: ${{ github.event.comment.user.login }} | |
maintainers: ${{ secrets.MAINTAINERS }} | |
- name: Remove stale and waiting-response | |
if: steps.community_check.outputs.maintainer == 'false' | |
env: | |
COMMAND: ${{ github.event.issue.pull_request && 'pr' || 'issue' }} | |
GH_TOKEN: ${{ github.token }} | |
run: gh $COMMAND edit ${{ github.event.issue.html_url }} --remove-label stale,waiting-response |