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

Allow missing and/or empty files #263

Open
reece opened this issue Feb 1, 2024 · 1 comment
Open

Allow missing and/or empty files #263

reece opened this issue Feb 1, 2024 · 1 comment
Assignees
Labels
good first issue Good for newcomers status: pinned Should not be labeled as stale type: feature New feature or feature request

Comments

@reece
Copy link
Contributor

reece commented Feb 1, 2024

For a small organization, I'd like to have a common set of standardized labels and the option for some repos to add new labels. The config stanza below works well:

          config-file: |
            https://raw.githubusercontent.com/biocommons/.github/main/.github/labels.yml
            .github/labels.yml

For this to work, .github/labels.yml must exist and must not be empty. If no new labels are intended, the file may contain just [].

At a minimum, this issue may help others achieve a similar outcome.

In addition, please consider allowing a file to empty, in which case it's interpreted as [].

@EndBug EndBug self-assigned this Feb 2, 2024
@EndBug EndBug added type: feature New feature or feature request good first issue Good for newcomers status: pinned Should not be labeled as stale labels Feb 2, 2024
@EndBug
Copy link
Owner

EndBug commented Feb 2, 2024

Good idea! I could add an opt-in input that treats 404s and missing files like an empty array :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers status: pinned Should not be labeled as stale type: feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

2 participants