Skip to content

Issues and labelers #47

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

Merged
merged 4 commits into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/blank-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name: '📝 Other issue'
description: Create an issue
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "🚀 New feature proposal"
description: Propose a new feature to be added to postcss-preset-env
labels: ['feature request']
body:
- type: markdown
attributes:
value: |
Thanks for your interest in the project and taking the time to fill out this feature report!
- type: textarea
id: feature-description
attributes:
label: Clear and concise description of the feature
description: As a developer using postcss-preset-env I want [goal / wish] so that [benefit]
validations:
required: true
- type: textarea
id: suggested-solution
attributes:
label: Suggested solution
description: 'In plugin/package [xy] we could provide following implementation...'
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Any other context or screenshots about the feature request here.
- type: checkboxes
id: checkboxes
attributes:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Follow our [Code of Conduct](https://github.com/csstools/postcss-plugins/blob/master/CODE_OF_CONDUCT.md)
required: true
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
required: true
- type: checkboxes
id: pr
attributes:
label: Would you like to open a PR for this feature?
description: Before starting to work on PR it is recommended to get maintainers approval.
options:
- label: I'm willing to open a PR
required: false
111 changes: 111 additions & 0 deletions .github/ISSUE_TEMPLATE/plugin-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: '🐞 Bug report'
description: Create a report for one of the plugins or PostCSS Preset Env with guided questions
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report!
- type: input
id: reproduction
attributes:
label: Reproduction link
description: Please provide a link to a repo that can reproduce the problem you ran into or a minimum reproducible case for your issue. A reproduction is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem.
placeholder: 'https://runkit.com/..'
validations:
required: true
- type: textarea
id: descr
attributes:
label: Bug description
description: A clear and concise description of what the bug is
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: Description of what you're experiencing
validations:
required: false
- type: textarea
id: actual
attributes:
label: Actual Behavior
description: Description of what you expected to happen.
validations:
required: false
- type: dropdown
id: plugin
attributes:
label: What plugin are you experiencing this issue on?
multiple: true
options:
- PostCSS Preset Env
- CSS All Property
- CSS Blank Pseudo
- CSS Has Pseudo
- CSS Prefers Color Scheme
- PostCSS Attribute Case Insensitive
- PostCSS Color Functional Notation
- PostCSS Color Hex Alpha
- PostCSS Color Mod Function
- PostCSS Custom Media Queries
- PostCSS Custom Properties
- PostCSS Custom Selectors
- PostCSS Dir Pseudo Class
- PostCSS Double Position Gradients
- PostCSS Env Function
- PostCSS Focus Visible
- PostCSS Focus Within
- PostCSS Font Variant
- PostCSS Gap Properties
- PostCSS Image Set Function
- PostCSS Lab Function
- PostCSS Logical
- PostCSS Media Query Ranges
- PostCSS Nesting
- PostCSS Overflow Shorthand
- PostCSS Page Break
- PostCSS Place
- PostCSS Pseudo Class Any Link
- PostCSS Rebeccapurple
- PostCSS Replace Overflow Wrap
- PostCSS Selector Not
- PostCSS System Ui Font Family
- PostCSS Plugins Values Parser
- Unsure
- type: input
id: version
attributes:
label: Plugin version
description: Exact release version or commit hash
placeholder: e.g 7.0.0
validations:
required: true
- type: input
id: node
attributes:
label: Node Version
description: Version of Node where you're experiencing this issue on
placeholder: eg 12.0.0
validations:
required: true
- type: checkboxes
id: checkboxes
attributes:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Follow our [Code of Conduct](https://github.com/csstools/postcss-plugins/blob/master/CODE_OF_CONDUCT.md)
required: true
- label: Can you reproduce it with `npx <plugin-name> minimal-example.css`?
required: false
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
required: true
- type: checkboxes
id: pr
attributes:
label: Would you like to open a PR for this bug?
description: Before starting to work on PR it is recommended to get maintainers approval
options:
- label: I'm willing to open a PR
required: false
104 changes: 104 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
"common-tools":
- packages/base-cli/**
- plugins/postcss-base-plugin/**
- rollup/**

"packages/postcss-plugins-values-parser":
- packages/postcss-plugins-values-parser/**

"plugin-packs/postcss-preset-env":
- plugin-packs/postcss-preset-env/**

"plugins/css-all-property":
- plugins/css-all-property/**

"plugins/css-blank-pseudo":
- plugins/css-blank-pseudo/**

"plugins/css-has-pseudo":
- plugins/css-has-pseudo/**

"plugins/css-prefers-color-scheme":
- plugins/css-prefers-color-scheme/**

"plugins/postcss-attribute-case-insensitive":
- plugins/postcss-attribute-case-insensitive/**

"plugins/postcss-color-functional-notation":
- plugins/postcss-color-functional-notation/**

"plugins/postcss-color-hex-alpha":
- plugins/postcss-color-hex-alpha/**

"plugins/postcss-color-mod-function":
- plugins/postcss-color-mod-function/**

"plugins/postcss-custom-media-queries":
- plugins/postcss-custom-media-queries/**

"plugins/postcss-custom-properties":
- plugins/postcss-custom-properties/**

"plugins/postcss-custom-selectors":
- plugins/postcss-custom-selectors/**

"plugins/postcss-dir-pseudo-class":
- plugins/postcss-dir-pseudo-class/**

"plugins/postcss-double-position-gradients":
- plugins/postcss-double-position-gradients/**

"plugins/postcss-env-function":
- plugins/postcss-env-function/**

"plugins/postcss-focus-visible":
- plugins/postcss-focus-visible/**

"plugins/postcss-focus-within":
- plugins/postcss-focus-within/**

"plugins/postcss-font-variant":
- plugins/postcss-font-variant/**

"plugins/postcss-gap-properties":
- plugins/postcss-gap-properties/**

"plugins/postcss-image-set-function":
- plugins/postcss-image-set-function/**

"plugins/postcss-lab-function":
- plugins/postcss-lab-function/**

"plugins/postcss-logical":
- plugins/postcss-logical/**

"plugins/postcss-media-query-ranges":
- plugins/postcss-media-query-ranges/**

"plugins/postcss-nesting":
- plugins/postcss-nesting/**

"plugins/postcss-overflow-shorthand":
- plugins/postcss-overflow-shorthand/**

"plugins/postcss-page-break":
- plugins/postcss-page-break/**

"plugins/postcss-place":
- plugins/postcss-place/**

"plugins/postcss-pseudo-class-any-link":
- plugins/postcss-pseudo-class-any-link/**

"plugins/postcss-rebeccapurple":
- plugins/postcss-rebeccapurple/**

"plugins/postcss-replace-overflow-wrap":
- plugins/postcss-replace-overflow-wrap/**

"plugins/postcss-selector-not":
- plugins/postcss-selector-not/**

"plugins/postcss-system-ui-font-family":
- plugins/postcss-system-ui-font-family/**

12 changes: 12 additions & 0 deletions .github/workflows/issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Issue Auto Labeler
on:
issues:
types: ['opened']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: Renato66/auto-label@v2 # or v2.1.5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels-not-allowed: '["bug","common-tools","duplicate","good first issue","help wanted","invalid","wontfix"]'
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Pull Request Labeler
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting Vladimir Kharlampidi <nolimits4web@gmail.com>. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq