AWS Amplify Auth v1 to v2 migration fails 5-10% of the time, logs user out #72
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: Issue Closed | |
on: | |
issues: | |
types: [closed] | |
permissions: | |
issues: write | |
jobs: | |
cleanup-labels: | |
runs-on: ubuntu-latest | |
if: ${{ (contains(github.event.issue.labels.*.name, 'pending-community-response') || contains(github.event.issue.labels.*.name, 'pending-maintainer-response') || contains(github.event.issue.labels.*.name, 'closing soon') || contains(github.event.issue.labels.*.name, 'pending-release')|| contains(github.event.issue.labels.*.name, 'pending-triage')) }} | |
steps: | |
- name: remove unnecessary labels after closing | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ISSUE_NUMBER: ${{ github.event.issue.number }} | |
REPOSITORY_NAME: ${{ github.event.repository.full_name }} | |
run: | | |
gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "closing soon" --remove-label "pending-community-response" --remove-label "pending-maintainer-response" --remove-label "pending-release" --remove-label "pending-triage" | |
comment-visibility-warning: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: aws-actions/closed-issue-message@36b7048ea77bb834d16e7a7c5b5471ac767a4ca1 # v1 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
message: | | |
This issue is now closed. Comments on closed issues are hard for our team to see. | |
If you need more assistance, please open a new issue that references this one. |