Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trim whitespaces from elements of repository list #75

Open
SebastianOpriel opened this issue Feb 19, 2023 · 0 comments
Open

trim whitespaces from elements of repository list #75

SebastianOpriel opened this issue Feb 19, 2023 · 0 comments

Comments

@SebastianOpriel
Copy link

SebastianOpriel commented Feb 19, 2023

If a white space is accidentally added to a repository name in a repository config list, this repository is not synced and also no error is shown. As URLs do not end with white spaces, these could be trimmed automatically to avoid mistakes. In belows case, REPO2 would not be synced cause of the white space at its end.

jobs:
  sync_labels:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: micnncim/action-label-syncer@v1.3.0
        with:
          manifest: .github/sync_labels.yml
          prune: false
          repository: |
            ORG/REPO1
            ORG/REPO2 
            ORG/REPO3
          token: ${{ secrets.PAT}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant